{"id":"CVE-2024-56553","summary":"binder: fix memleak of proc-\u003edelivered_freeze","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbinder: fix memleak of proc-\u003edelivered_freeze\n\nIf a freeze notification is cleared with BC_CLEAR_FREEZE_NOTIFICATION\nbefore calling binder_freeze_notification_done(), then it is detached\nfrom its reference (e.g. ref-\u003efreeze) but the work remains queued in\nproc-\u003edelivered_freeze. This leads to a memory leak when the process\nexits as any pending entries in proc-\u003edelivered_freeze are not freed:\n\n  unreferenced object 0xffff38e8cfa36180 (size 64):\n    comm \"binder-util\", pid 655, jiffies 4294936641\n    hex dump (first 32 bytes):\n      b8 e9 9e c8 e8 38 ff ff b8 e9 9e c8 e8 38 ff ff  .....8.......8..\n      0b 00 00 00 00 00 00 00 3c 1f 4b 00 00 00 00 00  ........\u003c.K.....\n    backtrace (crc 95983b32):\n      [\u003c000000000d0582cf\u003e] kmemleak_alloc+0x34/0x40\n      [\u003c000000009c99a513\u003e] __kmalloc_cache_noprof+0x208/0x280\n      [\u003c00000000313b1704\u003e] binder_thread_write+0xdec/0x439c\n      [\u003c000000000cbd33bb\u003e] binder_ioctl+0x1b68/0x22cc\n      [\u003c000000002bbedeeb\u003e] __arm64_sys_ioctl+0x124/0x190\n      [\u003c00000000b439adee\u003e] invoke_syscall+0x6c/0x254\n      [\u003c00000000173558fc\u003e] el0_svc_common.constprop.0+0xac/0x230\n      [\u003c0000000084f72311\u003e] do_el0_svc+0x40/0x58\n      [\u003c000000008b872457\u003e] el0_svc+0x38/0x78\n      [\u003c00000000ee778653\u003e] el0t_64_sync_handler+0x120/0x12c\n      [\u003c00000000a8ec61bf\u003e] el0t_64_sync+0x190/0x194\n\nThis patch fixes the leak by ensuring that any pending entries in\nproc-\u003edelivered_freeze are freed during binder_deferred_release().","modified":"2026-03-20T12:39:50.337990Z","published":"2024-12-27T14:22:54.859Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56553.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1db76ec2b4b206ff943e292a0b55e68ff3443598"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8b77712142fb146fe18d2253bc8a798d522e427"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56553.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56553"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d579b04a52a183db47dfcb7a44304d7747d551e1"},{"fixed":"b8b77712142fb146fe18d2253bc8a798d522e427"},{"fixed":"1db76ec2b4b206ff943e292a0b55e68ff3443598"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56553.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"}]}