Skip to content
Medium 4.7

In the Linux kernel, the following vulnerability has been resolved: f2fs: zone: fix to avoid bio...

CVE-2026-99576 First seen on SecPulse

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 4.8.0, < 6.12.118→ 6.12.118
≥ 6.13.0, < 6.18.64→ 6.18.64
≥ 6.19.0, < 7.3.5→ 7.3.5

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

In the Linux kernel, the following vulnerability has been resolved:

f2fs: zone: fix to avoid bio split on sequential zone

In the block layer, bio_split_to_limits() splits a bio if it exceeds
any underlying queue limits:

  1. queue_max_sectors: Splits bios larger than the transfer limit. This
    limit is set by the device driver/DMA controller (max_hw_sectors) and
    device-mapper targets. When flushing dirty pages (governed by VFS
    writeback_chunk_size() and f2fs nr_pages_to_skip()), f2fs merges
    contiguous pages into bios up to 512KB (1024 sectors) or more without
    checking queue_max_sectors, which will be split if the device or DM
    target enforces a smaller limit.
  2. queue_max_segments: Splits bios exceeding scatter-gather segment
    limits. f2fs allocates bios with up to 256 pages, exceeding the
    128-segment limit of DM targets (dm-default-key/dm-crypt) if pages
    are discontiguous.
  3. chunk_sectors: Splits bios crossing chunk/zone boundaries. In f2fs,
    section_size strictly matches zone_size, and block allocation never
    spans across section boundaries, so bios never cross chunk_sectors.

Crucially, when bio_split_to_limits() splits a bio, bio_submit_split()
submits the tail half via submit_bio_noacct() before returning the head
half to the caller. On a sequential zoned device, this causes the tail
bio to arrive at the zone write plug before the head:

dm-3: zone 7: prepare_bio wp mismatch: bio sector 30720 offset 2048
!= wp_offset 248, len 248

The writ…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details