PT-2026-167237
CVE-2026-143379
·
Published
2026-12-03
·
Updated
2026-12-03
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:
btrfs: scrub: fix lost wakeup and hang when cancelling a scrub that is finishing
When scrub finishes, it does a wakeup on the fs info->scrub pause wait
wait queue and then sets dev->scrub sctx to NULL. On the other hand the
scrub cancel code (btrfs scrub cancel dev()) waits on that wait queue
for dev->scrub sctx to be NULL. So this means if btrfs scrub cancel dev()
is called right when scrub is finishing and sees the wakeup before the
NULL is assigned to dev->scrub sctx by btrfs scrub dev(), it hangs.
Fix this by doing the wakeup in btrfs scrub dev() after setting
dev->scrub sctx to NULL.
Found an issue in the description? Have something to add? Feel free to write us 👾