Linux
netfs: Fix double put of request
In the Linux kernel, the following vulnerability has been resolved: netfs: Fix double put of request If a netfs request finishes during the pause loop, it will have the ref that belongs to the IN_PROGRESS flag removed at that point - however, if it then goes to the final wait loop, that will *also* put the ref because it sees that the IN_PROGRESS flag is clear and incorrectly assumes that this happened when it called the collector. In fact, since IN_PROGRESS is clear, we shouldn't call the collector again since it's done all the cleanup, such as calling ->ki_complete(). Fix this by making netfs_collect_in_app() just return, indicating that we're done if IN_PROGRESS is removed.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 329ba1cb402ac328224965b8fc7a554a5150908e, < d18facba5a5795ad44b2a00a052e3db2fa77ab12
- >= 2b1424cd131cfaba4cf7040473133d26cddac088, < 9df7b5ebead649b00bf9a53a798e4bf83a1318fd
Fixed in d18facba5a5795ad44b2a00a052e3db2fa77ab12, 9df7b5ebead649b00bf9a53a798e4bf83a1318fd
- >= 6.15.3, < 6.15.6
Fixed in 6.15.6
Mitigation
Upgrade Linux to d18facba5a5795ad44b2a00a052e3db2fa77ab12 or 9df7b5ebead649b00bf9a53a798e4bf83a1318fd or later.
Upgrade Linux to 6.15.6 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.