binder: fix leaked fd fixups on TF_UPDATE_TXN supersede
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1299cb3fb061598496086fc87ff291057831148e, Kernel 6673f4f21e2fddfed0abe1eb9045cc958e6db130, Kernel 7fd609fb0e9dcbc4d7a1e4da1af5368c0555ff55 and 3 more.
In the Linux kernel, the following vulnerability has been resolved: binder: fix leaked fd fixups on TF_UPDATE_TXN supersede When a TF_UPDATE_TXN transaction supersedes a pending async transaction in a frozen process, the outdated transaction is freed with kfree() directly. This skips binder_free_txn_fixups(), leaking all binder_txn_fd_fixup entries and their fget()'d struct file references. The leaked file refcounts never reach zero, so the struct file objects are permanently pinned in memory. They survive process exit and accumulate across invocations until file-max exhaustion. Every other transaction cleanup path (binder_free_transaction(), binder_transaction() error paths, binder_release_work()) correctly calls binder_free_txn_fixups(). Add the missing call before kfree() in the t_outdated cleanup block.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.0, >=9864bb4801331daa48514face9d0f4861e4d485b <1299cb3fb061598496086fc87ff291057831148e, >=9864bb4801331daa48514face9d0f4861e4d485b <6673f4f21e2fddfed0abe1eb9045cc958e6db130, >=9864bb4801331daa48514face9d0f4861e4d485b <7fd609fb0e9dcbc4d7a1e4da1af5368c0555ff55, >=9864bb4801331daa48514face9d0f4861e4d485b <a7329ea53d04f0c6135d02905810cd6f42acdf45, >=9864bb4801331daa48514face9d0f4861e4d485b <ab3f0ea529d4e36dde52c8efc76082c501abf9b6, >=9864bb4801331daa48514face9d0f4861e4d485b <c4c02084d6687d5cd5edccaf52cc45e5160f1184 | 1299cb3fb061598496086fc87ff291057831148e, 6673f4f21e2fddfed0abe1eb9045cc958e6db130, 7fd609fb0e9dcbc4d7a1e4da1af5368c0555ff55, a7329ea53d04f0c6135d02905810cd6f42acdf45, ab3f0ea529d4e36dde52c8efc76082c501abf9b6, c4c02084d6687d5cd5edccaf52cc45e5160f1184 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket