{"id":"DEBIAN-CVE-2022-49381","details":"In the Linux kernel, the following vulnerability has been resolved:  jffs2: fix memory leak in jffs2_do_fill_super  If jffs2_iget() or d_make_root() in jffs2_do_fill_super() returns an error, we can observe the following kmemleak report:  -------------------------------------------- unreferenced object 0xffff888105a65340 (size 64):   comm \"mount\", pid 710, jiffies 4302851558 (age 58.239s)   hex dump (first 32 bytes):     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................   backtrace:     [\u003cffffffff859c45e5\u003e] kmem_cache_alloc_trace+0x475/0x8a0     [\u003cffffffff86160146\u003e] jffs2_sum_init+0x96/0x1a0     [\u003cffffffff86140e25\u003e] jffs2_do_mount_fs+0x745/0x2120     [\u003cffffffff86149fec\u003e] jffs2_do_fill_super+0x35c/0x810     [\u003cffffffff8614aae9\u003e] jffs2_fill_super+0x2b9/0x3b0     [...] unreferenced object 0xffff8881bd7f0000 (size 65536):   comm \"mount\", pid 710, jiffies 4302851558 (age 58.239s)   hex dump (first 32 bytes):     bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb  ................     bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb  ................   backtrace:     [\u003cffffffff858579ba\u003e] kmalloc_order+0xda/0x110     [\u003cffffffff85857a11\u003e] kmalloc_order_trace+0x21/0x130     [\u003cffffffff859c2ed1\u003e] __kmalloc+0x711/0x8a0     [\u003cffffffff86160189\u003e] jffs2_sum_init+0xd9/0x1a0     [\u003cffffffff86140e25\u003e] jffs2_do_mount_fs+0x745/0x2120     [\u003cffffffff86149fec\u003e] jffs2_do_fill_super+0x35c/0x810     [\u003cffffffff8614aae9\u003e] jffs2_fill_super+0x2b9/0x3b0     [...] --------------------------------------------  This is because the resources allocated in jffs2_sum_init() are not released. Call jffs2_sum_exit() to release these resources to solve the problem.","modified":"2026-09-01T20:04:54.545725421Z","published":"2025-02-26T07:01:14.727Z","upstream":["CVE-2022-49381"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-49381"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.18.5-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-49381.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.18.5-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-49381.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.18.5-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-49381.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}