{"api_version":"1","generated_at":"2026-11-30T09:01:04+00:00","cve":"CVE-2026-99576","urls":{"html":"https://cve.report/CVE-2026-99576","api":"https://cve.report/api/cve/CVE-2026-99576.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99576","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99576"},"summary":{"title":"f2fs: zone: fix to avoid bio split on sequential zone","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: zone: fix to avoid bio split on sequential zone\n\nIn the block layer, bio_split_to_limits() splits a bio if it exceeds\nany underlying queue limits:\n1. queue_max_sectors: Splits bios larger than the transfer limit. This\n   limit is set by the device driver/DMA controller (max_hw_sectors) and\n   device-mapper targets. When flushing dirty pages (governed by VFS\n   writeback_chunk_size() and f2fs nr_pages_to_skip()), f2fs merges\n   contiguous pages into bios up to 512KB (1024 sectors) or more without\n   checking queue_max_sectors, which will be split if the device or DM\n   target enforces a smaller limit.\n2. queue_max_segments: Splits bios exceeding scatter-gather segment\n   limits. f2fs allocates bios with up to 256 pages, exceeding the\n   128-segment limit of DM targets (dm-default-key/dm-crypt) if pages\n   are discontiguous.\n3. chunk_sectors: Splits bios crossing chunk/zone boundaries. In f2fs,\n   section_size strictly matches zone_size, and block allocation never\n   spans across section boundaries, so bios never cross chunk_sectors.\n\nCrucially, when bio_split_to_limits() splits a bio, bio_submit_split()\nsubmits the tail half via submit_bio_noacct() before returning the head\nhalf to the caller. On a sequential zoned device, this causes the tail\nbio to arrive at the zone write plug before the head:\n\n  dm-3: zone 7: prepare_bio wp mismatch: bio sector 30720 offset 2048\n  != wp_offset 248, len 248\n\nThe write plug rejects the out-of-order tail with BLK_STS_IOERR, causing\nf2fs_stop_checkpoint() and remounting the filesystem read-only:\n\n2026-09-30T22:09:23.725678+08:00 localhost kernel: CPU: 9 UID: 0 PID: 243 Comm: kworker/9:1H Not tainted 6.12.81-gb3ef518fb26d #5\n2026-09-30T22:09:23.725750+08:00 localhost kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014\n2026-09-30T22:09:23.725753+08:00 localhost kernel: Workqueue: dm-3_zwplugs blk_zone_wplug_bio_work\n2026-09-30T22:09:23.725756+08:00 localhost kernel: Call Trace:\n2026-09-30T22:09:23.725758+08:00 localhost kernel:  <TASK>\n2026-09-30T22:09:23.725758+08:00 localhost kernel:  dump_stack_lvl+0x4d/0x70\n2026-09-30T22:09:23.725759+08:00 localhost kernel:  f2fs_stop_checkpoint+0x1df/0x5d0\n2026-09-30T22:09:23.725759+08:00 localhost kernel:  ? blk_zone_wplug_bio_work+0x4eb/0x740\n2026-09-30T22:09:23.725760+08:00 localhost kernel:  f2fs_cache_write_end_io+0x545/0x6e0\n2026-09-30T22:09:23.725761+08:00 localhost kernel:  blk_zone_wplug_bio_work+0x4eb/0x740\n2026-09-30T22:09:23.725762+08:00 localhost kernel:  process_one_work+0x5c6/0xde0\n2026-09-30T22:09:23.725764+08:00 localhost kernel:  ? assign_work+0x124/0x4e0\n2026-09-30T22:09:23.725765+08:00 localhost kernel:  worker_thread+0x403/0xb70\n2026-09-30T22:09:23.725765+08:00 localhost kernel:  ? __kthread_parkme+0x82/0x140\n2026-09-30T22:09:23.725766+08:00 localhost kernel:  ? __pfx_worker_thread+0x10/0x10\n2026-09-30T22:09:23.725766+08:00 localhost kernel:  kthread+0x235/0x2e0\n2026-09-30T22:09:23.725767+08:00 localhost kernel:  ? recalc_sigpending+0x128/0x1d0\n2026-09-30T22:09:23.725767+08:00 localhost kernel:  ? __pfx_kthread+0x10/0x10\n2026-09-30T22:09:23.725769+08:00 localhost kernel:  ret_from_fork+0x2f/0x70\n2026-09-30T22:09:23.725769+08:00 localhost kernel:  ? __pfx_kthread+0x10/0x10\n2026-09-30T22:09:23.725770+08:00 localhost kernel:  ret_from_fork_asm+0x1a/0x30\n2026-09-30T22:09:23.725771+08:00 localhost kernel:  </TASK>\n2026-09-30T22:09:23.725771+08:00 localhost kernel: F2FS-fs (dm-0): Stopped filesystem due to reason: 3\n\nTo prevent write bios destined for sequential zones from being split:\n1. In __bio_alloc(), bound npages to bdev_max_segments(bdev) for writes to\n   sequential zone areas.\n2. In page_is_mergeable(), check queue_max_segments() and queue_max_sectors()\n   for sequential zone areas, so f2fs will not merge beyond the queue limits.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:17:48","updated_at":"2026-11-20 06:17:48"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/c28481c073d4ca30c3c2ab6f1a65051cbe936220","name":"https://git.kernel.org/stable/c/c28481c073d4ca30c3c2ab6f1a65051cbe936220","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e83a3ca9fb7c1f7e439d2c2e547897053342c1c6","name":"https://git.kernel.org/stable/c/e83a3ca9fb7c1f7e439d2c2e547897053342c1c6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ec2e624b95cfda1c8b30e3a5b3ca9a55433da6c3","name":"https://git.kernel.org/stable/c/ec2e624b95cfda1c8b30e3a5b3ca9a55433da6c3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b9b036bd1e2cfbc189d5811d62d8711e216c40b3","name":"https://git.kernel.org/stable/c/b9b036bd1e2cfbc189d5811d62d8711e216c40b3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99576","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99576","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 52763a4b7a2112743745c5bbfe43fe6f54d4b39a e83a3ca9fb7c1f7e439d2c2e547897053342c1c6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 52763a4b7a2112743745c5bbfe43fe6f54d4b39a ec2e624b95cfda1c8b30e3a5b3ca9a55433da6c3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 52763a4b7a2112743745c5bbfe43fe6f54d4b39a c28481c073d4ca30c3c2ab6f1a65051cbe936220 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 52763a4b7a2112743745c5bbfe43fe6f54d4b39a b9b036bd1e2cfbc189d5811d62d8711e216c40b3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.8","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.8 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"99576","cve":"CVE-2026-99576","epss":"0.001680000","percentile":"0.061710000","score_date":"2026-11-22","updated_at":"2026-11-23 00:03:21"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/f2fs/data.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e83a3ca9fb7c1f7e439d2c2e547897053342c1c6","status":"affected","version":"52763a4b7a2112743745c5bbfe43fe6f54d4b39a","versionType":"git"},{"lessThan":"ec2e624b95cfda1c8b30e3a5b3ca9a55433da6c3","status":"affected","version":"52763a4b7a2112743745c5bbfe43fe6f54d4b39a","versionType":"git"},{"lessThan":"c28481c073d4ca30c3c2ab6f1a65051cbe936220","status":"affected","version":"52763a4b7a2112743745c5bbfe43fe6f54d4b39a","versionType":"git"},{"lessThan":"b9b036bd1e2cfbc189d5811d62d8711e216c40b3","status":"affected","version":"52763a4b7a2112743745c5bbfe43fe6f54d4b39a","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/f2fs/data.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.8"},{"lessThan":"4.8","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"4.8","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: zone: fix to avoid bio split on sequential zone\n\nIn the block layer, bio_split_to_limits() splits a bio if it exceeds\nany underlying queue limits:\n1. queue_max_sectors: Splits bios larger than the transfer limit. This\n   limit is set by the device driver/DMA controller (max_hw_sectors) and\n   device-mapper targets. When flushing dirty pages (governed by VFS\n   writeback_chunk_size() and f2fs nr_pages_to_skip()), f2fs merges\n   contiguous pages into bios up to 512KB (1024 sectors) or more without\n   checking queue_max_sectors, which will be split if the device or DM\n   target enforces a smaller limit.\n2. queue_max_segments: Splits bios exceeding scatter-gather segment\n   limits. f2fs allocates bios with up to 256 pages, exceeding the\n   128-segment limit of DM targets (dm-default-key/dm-crypt) if pages\n   are discontiguous.\n3. chunk_sectors: Splits bios crossing chunk/zone boundaries. In f2fs,\n   section_size strictly matches zone_size, and block allocation never\n   spans across section boundaries, so bios never cross chunk_sectors.\n\nCrucially, when bio_split_to_limits() splits a bio, bio_submit_split()\nsubmits the tail half via submit_bio_noacct() before returning the head\nhalf to the caller. On a sequential zoned device, this causes the tail\nbio to arrive at the zone write plug before the head:\n\n  dm-3: zone 7: prepare_bio wp mismatch: bio sector 30720 offset 2048\n  != wp_offset 248, len 248\n\nThe write plug rejects the out-of-order tail with BLK_STS_IOERR, causing\nf2fs_stop_checkpoint() and remounting the filesystem read-only:\n\n2026-09-30T22:09:23.725678+08:00 localhost kernel: CPU: 9 UID: 0 PID: 243 Comm: kworker/9:1H Not tainted 6.12.81-gb3ef518fb26d #5\n2026-09-30T22:09:23.725750+08:00 localhost kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014\n2026-09-30T22:09:23.725753+08:00 localhost kernel: Workqueue: dm-3_zwplugs blk_zone_wplug_bio_work\n2026-09-30T22:09:23.725756+08:00 localhost kernel: Call Trace:\n2026-09-30T22:09:23.725758+08:00 localhost kernel:  <TASK>\n2026-09-30T22:09:23.725758+08:00 localhost kernel:  dump_stack_lvl+0x4d/0x70\n2026-09-30T22:09:23.725759+08:00 localhost kernel:  f2fs_stop_checkpoint+0x1df/0x5d0\n2026-09-30T22:09:23.725759+08:00 localhost kernel:  ? blk_zone_wplug_bio_work+0x4eb/0x740\n2026-09-30T22:09:23.725760+08:00 localhost kernel:  f2fs_cache_write_end_io+0x545/0x6e0\n2026-09-30T22:09:23.725761+08:00 localhost kernel:  blk_zone_wplug_bio_work+0x4eb/0x740\n2026-09-30T22:09:23.725762+08:00 localhost kernel:  process_one_work+0x5c6/0xde0\n2026-09-30T22:09:23.725764+08:00 localhost kernel:  ? assign_work+0x124/0x4e0\n2026-09-30T22:09:23.725765+08:00 localhost kernel:  worker_thread+0x403/0xb70\n2026-09-30T22:09:23.725765+08:00 localhost kernel:  ? __kthread_parkme+0x82/0x140\n2026-09-30T22:09:23.725766+08:00 localhost kernel:  ? __pfx_worker_thread+0x10/0x10\n2026-09-30T22:09:23.725766+08:00 localhost kernel:  kthread+0x235/0x2e0\n2026-09-30T22:09:23.725767+08:00 localhost kernel:  ? recalc_sigpending+0x128/0x1d0\n2026-09-30T22:09:23.725767+08:00 localhost kernel:  ? __pfx_kthread+0x10/0x10\n2026-09-30T22:09:23.725769+08:00 localhost kernel:  ret_from_fork+0x2f/0x70\n2026-09-30T22:09:23.725769+08:00 localhost kernel:  ? __pfx_kthread+0x10/0x10\n2026-09-30T22:09:23.725770+08:00 localhost kernel:  ret_from_fork_asm+0x1a/0x30\n2026-09-30T22:09:23.725771+08:00 localhost kernel:  </TASK>\n2026-09-30T22:09:23.725771+08:00 localhost kernel: F2FS-fs (dm-0): Stopped filesystem due to reason: 3\n\nTo prevent write bios destined for sequential zones from being split:\n1. In __bio_alloc(), bound npages to bdev_max_segments(bdev) for writes to\n   sequential zone areas.\n2. In page_is_mergeable(), check queue_max_segments() and queue_max_sectors()\n   for sequential zone areas, so f2fs will not merge beyond the queue limits."}],"providerMetadata":{"dateUpdated":"2026-11-20T05:49:09.309Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e83a3ca9fb7c1f7e439d2c2e547897053342c1c6"},{"url":"https://git.kernel.org/stable/c/ec2e624b95cfda1c8b30e3a5b3ca9a55433da6c3"},{"url":"https://git.kernel.org/stable/c/c28481c073d4ca30c3c2ab6f1a65051cbe936220"},{"url":"https://git.kernel.org/stable/c/b9b036bd1e2cfbc189d5811d62d8711e216c40b3"}],"title":"f2fs: zone: fix to avoid bio split on sequential zone","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99576","datePublished":"2026-11-20T05:49:09.309Z","dateReserved":"2026-09-25T10:25:14.423Z","dateUpdated":"2026-11-20T05:49:09.309Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:17:48","lastModifiedDate":"2026-11-20 06:17:48","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99576","Ordinal":"1","Title":"f2fs: zone: fix to avoid bio split on sequential zone","CVE":"CVE-2026-99576","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99576","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: zone: fix to avoid bio split on sequential zone\n\nIn the block layer, bio_split_to_limits() splits a bio if it exceeds\nany underlying queue limits:\n1. queue_max_sectors: Splits bios larger than the transfer limit. This\n   limit is set by the device driver/DMA controller (max_hw_sectors) and\n   device-mapper targets. When flushing dirty pages (governed by VFS\n   writeback_chunk_size() and f2fs nr_pages_to_skip()), f2fs merges\n   contiguous pages into bios up to 512KB (1024 sectors) or more without\n   checking queue_max_sectors, which will be split if the device or DM\n   target enforces a smaller limit.\n2. queue_max_segments: Splits bios exceeding scatter-gather segment\n   limits. f2fs allocates bios with up to 256 pages, exceeding the\n   128-segment limit of DM targets (dm-default-key/dm-crypt) if pages\n   are discontiguous.\n3. chunk_sectors: Splits bios crossing chunk/zone boundaries. In f2fs,\n   section_size strictly matches zone_size, and block allocation never\n   spans across section boundaries, so bios never cross chunk_sectors.\n\nCrucially, when bio_split_to_limits() splits a bio, bio_submit_split()\nsubmits the tail half via submit_bio_noacct() before returning the head\nhalf to the caller. On a sequential zoned device, this causes the tail\nbio to arrive at the zone write plug before the head:\n\n  dm-3: zone 7: prepare_bio wp mismatch: bio sector 30720 offset 2048\n  != wp_offset 248, len 248\n\nThe write plug rejects the out-of-order tail with BLK_STS_IOERR, causing\nf2fs_stop_checkpoint() and remounting the filesystem read-only:\n\n2026-09-30T22:09:23.725678+08:00 localhost kernel: CPU: 9 UID: 0 PID: 243 Comm: kworker/9:1H Not tainted 6.12.81-gb3ef518fb26d #5\n2026-09-30T22:09:23.725750+08:00 localhost kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014\n2026-09-30T22:09:23.725753+08:00 localhost kernel: Workqueue: dm-3_zwplugs blk_zone_wplug_bio_work\n2026-09-30T22:09:23.725756+08:00 localhost kernel: Call Trace:\n2026-09-30T22:09:23.725758+08:00 localhost kernel:  <TASK>\n2026-09-30T22:09:23.725758+08:00 localhost kernel:  dump_stack_lvl+0x4d/0x70\n2026-09-30T22:09:23.725759+08:00 localhost kernel:  f2fs_stop_checkpoint+0x1df/0x5d0\n2026-09-30T22:09:23.725759+08:00 localhost kernel:  ? blk_zone_wplug_bio_work+0x4eb/0x740\n2026-09-30T22:09:23.725760+08:00 localhost kernel:  f2fs_cache_write_end_io+0x545/0x6e0\n2026-09-30T22:09:23.725761+08:00 localhost kernel:  blk_zone_wplug_bio_work+0x4eb/0x740\n2026-09-30T22:09:23.725762+08:00 localhost kernel:  process_one_work+0x5c6/0xde0\n2026-09-30T22:09:23.725764+08:00 localhost kernel:  ? assign_work+0x124/0x4e0\n2026-09-30T22:09:23.725765+08:00 localhost kernel:  worker_thread+0x403/0xb70\n2026-09-30T22:09:23.725765+08:00 localhost kernel:  ? __kthread_parkme+0x82/0x140\n2026-09-30T22:09:23.725766+08:00 localhost kernel:  ? __pfx_worker_thread+0x10/0x10\n2026-09-30T22:09:23.725766+08:00 localhost kernel:  kthread+0x235/0x2e0\n2026-09-30T22:09:23.725767+08:00 localhost kernel:  ? recalc_sigpending+0x128/0x1d0\n2026-09-30T22:09:23.725767+08:00 localhost kernel:  ? __pfx_kthread+0x10/0x10\n2026-09-30T22:09:23.725769+08:00 localhost kernel:  ret_from_fork+0x2f/0x70\n2026-09-30T22:09:23.725769+08:00 localhost kernel:  ? __pfx_kthread+0x10/0x10\n2026-09-30T22:09:23.725770+08:00 localhost kernel:  ret_from_fork_asm+0x1a/0x30\n2026-09-30T22:09:23.725771+08:00 localhost kernel:  </TASK>\n2026-09-30T22:09:23.725771+08:00 localhost kernel: F2FS-fs (dm-0): Stopped filesystem due to reason: 3\n\nTo prevent write bios destined for sequential zones from being split:\n1. In __bio_alloc(), bound npages to bdev_max_segments(bdev) for writes to\n   sequential zone areas.\n2. In page_is_mergeable(), check queue_max_segments() and queue_max_sectors()\n   for sequential zone areas, so f2fs will not merge beyond the queue limits.","Type":"Description","Title":"f2fs: zone: fix to avoid bio split on sequential zone"}]}}}