Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
9864bb4801331daa48514face9d0f4861e4d485b to < ab3f0ea529d4e36dde52c8efc76082c501abf9b6affected9864bb4801331daa48514face9d0f4861e4d485b to < a7329ea53d04f0c6135d02905810cd6f42acdf45affected9864bb4801331daa48514face9d0f4861e4d485b to < 7fd609fb0e9dcbc4d7a1e4da1af5368c0555ff55affected9864bb4801331daa48514face9d0f4861e4d485b to < 1299cb3fb061598496086fc87ff291057831148eaffected9864bb4801331daa48514face9d0f4861e4d485b to < 6673f4f21e2fddfed0abe1eb9045cc958e6db130affected9864bb4801331daa48514face9d0f4861e4d485b to < c4c02084d6687d5cd5edccaf52cc45e5160f1184affected
Linux Linux
Default version status: affected
6.0affected0 to < 6.0unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.113 to ≤ 6.12.*unaffected6.18.56 to ≤ 6.18.*unaffected7.2.10 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/ab3f0ea529d4e36dde52c8efc76082c501abf9b6 ↗
- https://git.kernel.org/stable/c/a7329ea53d04f0c6135d02905810cd6f42acdf45 ↗
- https://git.kernel.org/stable/c/7fd609fb0e9dcbc4d7a1e4da1af5368c0555ff55 ↗
- https://git.kernel.org/stable/c/1299cb3fb061598496086fc87ff291057831148e ↗
- https://git.kernel.org/stable/c/6673f4f21e2fddfed0abe1eb9045cc958e6db130 ↗
- https://git.kernel.org/stable/c/c4c02084d6687d5cd5edccaf52cc45e5160f1184 ↗