Show plain JSON{"dataType": "CVE_RECORD", "cveMetadata": {"cveId": "CVE-2024-38560", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-06-18T19:36:34.922Z", "datePublished": "2024-06-19T13:35:29.555Z", "dateUpdated": "2025-05-04T09:14:07.087Z"}, "containers": {"cna": {"providerMetadata": {"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2025-05-04T09:14:07.087Z"}, "descriptions": [{"lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: bfa: 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 instead\nof memdup_user."}], "affected": [{"product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": ["drivers/scsi/bfa/bfad_debugfs.c"], "versions": [{"version": "9f30b674759b9a2da25aefe25d885161d8a911cb", "lessThan": "481fc0c8617304a67649027c4a44723a139a0462", "status": "affected", "versionType": "git"}, {"version": "9f30b674759b9a2da25aefe25d885161d8a911cb", "lessThan": "595a6b98deec01b6dbb20139f71edcd5fb760ec2", "status": "affected", "versionType": "git"}, {"version": "9f30b674759b9a2da25aefe25d885161d8a911cb", "lessThan": "00b425ff0891283207d7bad607a2412225274d7a", "status": "affected", "versionType": "git"}, {"version": "9f30b674759b9a2da25aefe25d885161d8a911cb", "lessThan": "1708e3cf2488788cba5489e4f913d227de757baf", "status": "affected", "versionType": "git"}, {"version": "9f30b674759b9a2da25aefe25d885161d8a911cb", "lessThan": "7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c", "status": "affected", "versionType": "git"}, {"version": "9f30b674759b9a2da25aefe25d885161d8a911cb", "lessThan": "204714e68015d6946279719fd464ecaf57240f35", "status": "affected", "versionType": "git"}, {"version": "9f30b674759b9a2da25aefe25d885161d8a911cb", "lessThan": "7510fab46b1cbd1680e2a096e779aec3334b4143", "status": "affected", "versionType": "git"}, {"version": "9f30b674759b9a2da25aefe25d885161d8a911cb", "lessThan": "ecb76200f5557a2886888aaa53702da1ab9e6cdf", "status": "affected", "versionType": "git"}, {"version": "9f30b674759b9a2da25aefe25d885161d8a911cb", "lessThan": "13d0cecb4626fae67c00c84d3c7851f6b62f7df3", "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/scsi/bfa/bfad_debugfs.c"], "versions": [{"version": "3.19", "status": "affected"}, {"version": "0", "lessThan": "3.19", "status": "unaffected", "versionType": "semver"}, {"version": "4.19.316", "lessThanOrEqual": "4.19.*", "status": "unaffected", "versionType": "semver"}, {"version": "5.4.278", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver"}, {"version": "5.10.219", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver"}, {"version": "5.15.161", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver"}, {"version": "6.1.93", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver"}, {"version": "6.6.33", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver"}, {"version": "6.8.12", "lessThanOrEqual": "6.8.*", "status": "unaffected", "versionType": "semver"}, {"version": "6.9.3", "lessThanOrEqual": "6.9.*", "status": "unaffected", "versionType": "semver"}, {"version": "6.10", "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.19", "versionEndExcluding": "4.19.316"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.19", "versionEndExcluding": "5.4.278"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.19", "versionEndExcluding": "5.10.219"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.19", "versionEndExcluding": "5.15.161"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.19", "versionEndExcluding": "6.1.93"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.19", "versionEndExcluding": "6.6.33"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.19", "versionEndExcluding": "6.8.12"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.19", "versionEndExcluding": "6.9.3"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.19", "versionEndExcluding": "6.10"}]}]}], "references": [{"url": "https://git.kernel.org/stable/c/481fc0c8617304a67649027c4a44723a139a0462"}, {"url": "https://git.kernel.org/stable/c/595a6b98deec01b6dbb20139f71edcd5fb760ec2"}, {"url": "https://git.kernel.org/stable/c/00b425ff0891283207d7bad607a2412225274d7a"}, {"url": "https://git.kernel.org/stable/c/1708e3cf2488788cba5489e4f913d227de757baf"}, {"url": "https://git.kernel.org/stable/c/7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c"}, {"url": "https://git.kernel.org/stable/c/204714e68015d6946279719fd464ecaf57240f35"}, {"url": "https://git.kernel.org/stable/c/7510fab46b1cbd1680e2a096e779aec3334b4143"}, {"url": "https://git.kernel.org/stable/c/ecb76200f5557a2886888aaa53702da1ab9e6cdf"}, {"url": "https://git.kernel.org/stable/c/13d0cecb4626fae67c00c84d3c7851f6b62f7df3"}], "title": "scsi: bfa: Ensure the copied buf is NUL terminated", "x_generator": {"engine": "bippy-1.2.0"}}, "adp": [{"providerMetadata": {"orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-02T04:12:25.822Z"}, "title": "CVE Program Container", "references": [{"url": "https://git.kernel.org/stable/c/481fc0c8617304a67649027c4a44723a139a0462", "tags": ["x_transferred"]}, {"url": "https://git.kernel.org/stable/c/595a6b98deec01b6dbb20139f71edcd5fb760ec2", "tags": ["x_transferred"]}, {"url": "https://git.kernel.org/stable/c/00b425ff0891283207d7bad607a2412225274d7a", "tags": ["x_transferred"]}, {"url": "https://git.kernel.org/stable/c/1708e3cf2488788cba5489e4f913d227de757baf", "tags": ["x_transferred"]}, {"url": "https://git.kernel.org/stable/c/7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c", "tags": ["x_transferred"]}, {"url": "https://git.kernel.org/stable/c/204714e68015d6946279719fd464ecaf57240f35", "tags": ["x_transferred"]}, {"url": "https://git.kernel.org/stable/c/7510fab46b1cbd1680e2a096e779aec3334b4143", "tags": ["x_transferred"]}, {"url": "https://git.kernel.org/stable/c/ecb76200f5557a2886888aaa53702da1ab9e6cdf", "tags": ["x_transferred"]}, {"url": "https://git.kernel.org/stable/c/13d0cecb4626fae67c00c84d3c7851f6b62f7df3", "tags": ["x_transferred"]}]}, {"metrics": [{"other": {"type": "ssvc", "content": {"id": "CVE-2024-38560", "role": "CISA Coordinator", "options": [{"Exploitation": "none"}, {"Automatable": "no"}, {"Technical Impact": "partial"}], "version": "2.0.3", "timestamp": "2024-09-10T17:14:37.926935Z"}}}], "title": "CISA ADP Vulnrichment", "providerMetadata": {"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-09-11T17:34:56.869Z"}}]}, "dataVersion": "5.1"}