PT-2026-163055
CVE-2026-139014
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
f2fs: drop pending discard commands before reserving device alias
When reserving a device alias via f2fs ioc reserve dev alias(),
f2fs reserve device alias() bulk-marks all blocks in the target device
range as valid in SIT.
However, if the device was previously in the released state, stale
pending discard commands covering that range may still exist in dcc->root.
When f2fs issue discard thread later processes those commands,
check sit bitmap() detects valid blocks in the discard range and
triggers a kernel BUG().
To fix this:
- Introduce f2fs drop discard cmd range() to traverse the discard rbtree, drop all pending D PREP discard commands in the range, and wait for any in-flight discard bios under dcc->cmd lock.
- Call f2fs drop discard cmd range() in f2fs ioc reserve dev alias() before f2fs reserve device alias().
Found an issue in the description? Have something to add? Feel free to write us 👾