{"id":"CVE-2024-43854","summary":"block: initialize integrity buffer to zero before writing it to media","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: initialize integrity buffer to zero before writing it to media\n\nMetadata added by bio_integrity_prep is using plain kmalloc, which leads\nto random kernel memory being written media.  For PI metadata this is\nlimited to the app tag that isn't used by kernel generated metadata,\nbut for non-PI metadata the entire buffer leaks kernel memory.\n\nFix this by adding the __GFP_ZERO flag to allocations for writes.","modified":"2026-03-20T12:38:51.841524Z","published":"2024-08-17T09:22:11.297Z","related":["ALSA-2024:10939","ALSA-2024:8617","ALSA-2024:8856","ALSA-2024:8870","MGASA-2024-0309","MGASA-2024-0310","SUSE-SU-2024:3189-1","SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3251-1","SUSE-SU-2024:3252-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2024:4131-1","SUSE-SU-2024:4345-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43854.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/129f95948a96105c1fad8e612c9097763e88ac5f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/23a19655fb56f241e592041156dfb1c6d04da644"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3fd11fe4f20756b4c0847f755a64cd96f8c6a005"},{"type":"WEB","url":"https://git.kernel.org/stable/c/899ee2c3829c5ac14bfc7d3c4a5846c0b709b78f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f4af4cf08f9a0329ade3d938f55d2220c40d0a6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf6b45ea7a8df0f61bded1dc4a8561ac6ad143d2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d418313bd8f55c079a7da12651951b489a638ac1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ebc0e91ba76dc6544fff9f5b66408b1982806a00"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43854.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43854"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7ba1ba12eeef0aa7113beb16410ef8b7c748e18b"},{"fixed":"9f4af4cf08f9a0329ade3d938f55d2220c40d0a6"},{"fixed":"129f95948a96105c1fad8e612c9097763e88ac5f"},{"fixed":"3fd11fe4f20756b4c0847f755a64cd96f8c6a005"},{"fixed":"cf6b45ea7a8df0f61bded1dc4a8561ac6ad143d2"},{"fixed":"d418313bd8f55c079a7da12651951b489a638ac1"},{"fixed":"23a19655fb56f241e592041156dfb1c6d04da644"},{"fixed":"ebc0e91ba76dc6544fff9f5b66408b1982806a00"},{"fixed":"899ee2c3829c5ac14bfc7d3c4a5846c0b709b78f"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-43854.json"}}],"schema_version":"1.7.5"}