{"id":"CVE-2025-68348","state":"PUBLISHED","title":"block: fix memory leak in __blkdev_issue_zero_pages","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: fix memory leak in __blkdev_issue_zero_pages\n\nMove the fatal signal check before bio_alloc() to prevent a memory\nleak when BLKDEV_ZERO_KILLABLE is set and a fatal signal is pending.\n\nPreviously, the bio was allocated before checking for a fatal signal.\nIf a signal was pending, the code would break out of the loop without\nfreeing or chaining the just-allocated bio, causing a memory leak.\n\nThis matches the pattern already used in __blkdev_issue_write_zeroes()\nwhere the signal check precedes the allocation.","publishedAt":"2025-12-24T10:32:40.561Z","updatedAt":"2026-05-11T21:51:27.551Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bf86bcdb40123ee99669ee91b67e023669433a1a","status":"affected","lessThan":"453e4b0c84d0db1454ff0adf655d91179e6fca3a","versionType":"git"},{"version":"bf86bcdb40123ee99669ee91b67e023669433a1a","status":"affected","lessThan":"7957635c679e8a01147163a3a4a1f16e1210fa03","versionType":"git"},{"version":"bf86bcdb40123ee99669ee91b67e023669433a1a","status":"affected","lessThan":"7193407bc4457212fa38ec3aff9c640e63a8dbef","versionType":"git"},{"version":"bf86bcdb40123ee99669ee91b67e023669433a1a","status":"affected","lessThan":"f7e3f852a42d7cd8f1af2c330d9d153e30c8adcf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-lib.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.63","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.13","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18.2","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-lib.c"]}],"references":["https://git.kernel.org/stable/c/453e4b0c84d0db1454ff0adf655d91179e6fca3a","https://git.kernel.org/stable/c/7957635c679e8a01147163a3a4a1f16e1210fa03","https://git.kernel.org/stable/c/7193407bc4457212fa38ec3aff9c640e63a8dbef","https://git.kernel.org/stable/c/f7e3f852a42d7cd8f1af2c330d9d153e30c8adcf"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68348.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68348","state":"PUBLISHED","datePublished":"2025-12-24T10:32:40.561Z","dateUpdated":"2026-05-11T21:51:27.551Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-16T14:48:05.300Z"},"containers":{"cna":{"title":"block: fix memory leak in __blkdev_issue_zero_pages","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: fix memory leak in __blkdev_issue_zero_pages\n\nMove the fatal signal check before bio_alloc() to prevent a memory\nleak when BLKDEV_ZERO_KILLABLE is set and a fatal signal is pending.\n\nPreviously, the bio was allocated before checking for a fatal signal.\nIf a signal was pending, the code would break out of the loop without\nfreeing or chaining the just-allocated bio, causing a memory leak.\n\nThis matches the pattern already used in __blkdev_issue_write_zeroes()\nwhere the signal check precedes the allocation."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bf86bcdb40123ee99669ee91b67e023669433a1a","status":"affected","lessThan":"453e4b0c84d0db1454ff0adf655d91179e6fca3a","versionType":"git"},{"version":"bf86bcdb40123ee99669ee91b67e023669433a1a","status":"affected","lessThan":"7957635c679e8a01147163a3a4a1f16e1210fa03","versionType":"git"},{"version":"bf86bcdb40123ee99669ee91b67e023669433a1a","status":"affected","lessThan":"7193407bc4457212fa38ec3aff9c640e63a8dbef","versionType":"git"},{"version":"bf86bcdb40123ee99669ee91b67e023669433a1a","status":"affected","lessThan":"f7e3f852a42d7cd8f1af2c330d9d153e30c8adcf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-lib.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.63","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.13","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18.2","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-lib.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/453e4b0c84d0db1454ff0adf655d91179e6fca3a"},{"url":"https://git.kernel.org/stable/c/7957635c679e8a01147163a3a4a1f16e1210fa03"},{"url":"https://git.kernel.org/stable/c/7193407bc4457212fa38ec3aff9c640e63a8dbef"},{"url":"https://git.kernel.org/stable/c/f7e3f852a42d7cd8f1af2c330d9d153e30c8adcf"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:51:27.551Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.12.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.17.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.18.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}