PT-2026-162750
CVE-2026-138890
·
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:
ocfs2: free replay slots in ocfs2 recovery exit()
Commit ce2fcf1516d6 ("ocfs2: fix memory leak in ocfs2 mount volume()")
added ocfs2 free replay slots() calls to the mount error paths
out dismount and out check volume to fix a leak of osb->replay map.
However these calls are unlocked while the bail path of the recovery
thread, which is woken up by out dismount right before the call, also
frees the replay slots under osb->recovery lock. Both sides can thus
observe a non-NULL osb->replay map and trigger a double free.
Fix this by moving ocfs2 free replay slots() into ocfs2 recovery exit()
after ocfs2 recovery disable(), which waits for a running recovery thread
to exit under osb->recovery lock, and drop the unlocked call sites. Both
ocfs2 dismount volume() and the out super path of ocfs2 fill super() call
ocfs2 recovery exit(), so the replay slots are freed on every path. Since
super.c no longer references it, make ocfs2 free replay slots() static
again.
Found an issue in the description? Have something to add? Feel free to write us 👾