| { |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038" |
| }, |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbna: ensure the copied buf is NUL terminated\n\nCurrently, we allocate a nbytes-sized kernel buffer and copy nbytes from\nuserspace to that buffer. Later, we use sscanf on this buffer but we don't\nensure that the string is terminated inside the buffer, this can lead to\nOOB read when using sscanf. Fix this issue by using memdup_user_nul\ninstead of memdup_user." |
| } |
| ], |
| "affected": [ |
| { |
| "product": "Linux", |
| "vendor": "Linux", |
| "defaultStatus": "unaffected", |
| "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", |
| "programFiles": [ |
| "drivers/net/ethernet/brocade/bna/bnad_debugfs.c" |
| ], |
| "versions": [ |
| { |
| "version": "7afc5dbde09104b023ce04465ba71aaba0fc4346", |
| "lessThan": "bd502ba81cd1d515deddad7dbc6b812b14b97147", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "7afc5dbde09104b023ce04465ba71aaba0fc4346", |
| "lessThan": "80578ec10335bc15ac35fd1703c22aab34e39fdd", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "7afc5dbde09104b023ce04465ba71aaba0fc4346", |
| "lessThan": "6f0f19b79c085cc891c418b768f26f7004bd51a4", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "7afc5dbde09104b023ce04465ba71aaba0fc4346", |
| "lessThan": "0f560240b4cc25d3de527deb257cdf072c0102a9", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "7afc5dbde09104b023ce04465ba71aaba0fc4346", |
| "lessThan": "06cb37e2ba6441888f24566a997481d4197b4e32", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "7afc5dbde09104b023ce04465ba71aaba0fc4346", |
| "lessThan": "e19478763154674c084defc62ae0d64d79657f91", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "7afc5dbde09104b023ce04465ba71aaba0fc4346", |
| "lessThan": "1518b2b498a0109eb6b15755169d3b6607356b35", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "7afc5dbde09104b023ce04465ba71aaba0fc4346", |
| "lessThan": "8c34096c7fdf272fd4c0c37fe411cd2e3ed0ee9f", |
| "status": "affected", |
| "versionType": "git" |
| } |
| ] |
| }, |
| { |
| "product": "Linux", |
| "vendor": "Linux", |
| "defaultStatus": "affected", |
| "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", |
| "programFiles": [ |
| "drivers/net/ethernet/brocade/bna/bnad_debugfs.c" |
| ], |
| "versions": [ |
| { |
| "version": "3.3", |
| "status": "affected" |
| }, |
| { |
| "version": "0", |
| "lessThan": "3.3", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "4.19.314", |
| "lessThanOrEqual": "4.19.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.4.276", |
| "lessThanOrEqual": "5.4.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.10.217", |
| "lessThanOrEqual": "5.10.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.15.159", |
| "lessThanOrEqual": "5.15.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "6.1.91", |
| "lessThanOrEqual": "6.1.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "6.6.31", |
| "lessThanOrEqual": "6.6.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "6.8.10", |
| "lessThanOrEqual": "6.8.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "6.9", |
| "lessThanOrEqual": "*", |
| "status": "unaffected", |
| "versionType": "original_commit_for_fix" |
| } |
| ] |
| } |
| ], |
| "cpeApplicability": [ |
| { |
| "nodes": [ |
| { |
| "operator": "OR", |
| "negate": false, |
| "cpeMatch": [ |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "3.3", |
| "versionEndExcluding": "4.19.314" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "3.3", |
| "versionEndExcluding": "5.4.276" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "3.3", |
| "versionEndExcluding": "5.10.217" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "3.3", |
| "versionEndExcluding": "5.15.159" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "3.3", |
| "versionEndExcluding": "6.1.91" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "3.3", |
| "versionEndExcluding": "6.6.31" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "3.3", |
| "versionEndExcluding": "6.8.10" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "3.3", |
| "versionEndExcluding": "6.9" |
| } |
| ] |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://git.kernel.org/stable/c/bd502ba81cd1d515deddad7dbc6b812b14b97147" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/80578ec10335bc15ac35fd1703c22aab34e39fdd" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/6f0f19b79c085cc891c418b768f26f7004bd51a4" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/0f560240b4cc25d3de527deb257cdf072c0102a9" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/06cb37e2ba6441888f24566a997481d4197b4e32" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/e19478763154674c084defc62ae0d64d79657f91" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/1518b2b498a0109eb6b15755169d3b6607356b35" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/8c34096c7fdf272fd4c0c37fe411cd2e3ed0ee9f" |
| } |
| ], |
| "title": "bna: ensure the copied buf is NUL terminated", |
| "x_generator": { |
| "engine": "bippy-1.2.0" |
| } |
| } |
| }, |
| "cveMetadata": { |
| "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038", |
| "cveID": "CVE-2024-36934", |
| "requesterUserId": "gregkh@kernel.org", |
| "serial": "1", |
| "state": "PUBLISHED" |
| }, |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0" |
| } |