{"id":"DEBIAN-CVE-2025-38185","details":"In the Linux kernel, the following vulnerability has been resolved:  atm: atmtcp: Free invalid length skb in atmtcp_c_send().  syzbot reported the splat below. [0]  vcc_sendmsg() copies data passed from userspace to skb and passes it to vcc-\u003edev-\u003eops-\u003esend().  atmtcp_c_send() accesses skb-\u003edata as struct atmtcp_hdr after checking if skb-\u003elen is 0, but it's not enough.  Also, when skb-\u003elen == 0, skb and sk (vcc) were leaked because dev_kfree_skb() is not called and sk_wmem_alloc adjustment is missing to revert atm_account_tx() in vcc_sendmsg(), which is expected to be done in atm_pop_raw().  Let's properly free skb with an invalid length in atmtcp_c_send().  [0]: BUG: KMSAN: uninit-value in atmtcp_c_send+0x255/0xed0 drivers/atm/atmtcp.c:294  atmtcp_c_send+0x255/0xed0 drivers/atm/atmtcp.c:294  vcc_sendmsg+0xd7c/0xff0 net/atm/common.c:644  sock_sendmsg_nosec net/socket.c:712 [inline]  __sock_sendmsg+0x330/0x3d0 net/socket.c:727  ____sys_sendmsg+0x7e0/0xd80 net/socket.c:2566  ___sys_sendmsg+0x271/0x3b0 net/socket.c:2620  __sys_sendmsg net/socket.c:2652 [inline]  __do_sys_sendmsg net/socket.c:2657 [inline]  __se_sys_sendmsg net/socket.c:2655 [inline]  __x64_sys_sendmsg+0x211/0x3e0 net/socket.c:2655  x64_sys_call+0x32fb/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:47  do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]  do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94  entry_SYSCALL_64_after_hwframe+0x77/0x7f  Uninit was created at:  slab_post_alloc_hook mm/slub.c:4154 [inline]  slab_alloc_node mm/slub.c:4197 [inline]  kmem_cache_alloc_node_noprof+0x818/0xf00 mm/slub.c:4249  kmalloc_reserve+0x13c/0x4b0 net/core/skbuff.c:579  __alloc_skb+0x347/0x7d0 net/core/skbuff.c:670  alloc_skb include/linux/skbuff.h:1336 [inline]  vcc_sendmsg+0xb40/0xff0 net/atm/common.c:628  sock_sendmsg_nosec net/socket.c:712 [inline]  __sock_sendmsg+0x330/0x3d0 net/socket.c:727  ____sys_sendmsg+0x7e0/0xd80 net/socket.c:2566  ___sys_sendmsg+0x271/0x3b0 net/socket.c:2620  __sys_sendmsg net/socket.c:2652 [inline]  __do_sys_sendmsg net/socket.c:2657 [inline]  __se_sys_sendmsg net/socket.c:2655 [inline]  __x64_sys_sendmsg+0x211/0x3e0 net/socket.c:2655  x64_sys_call+0x32fb/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:47  do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]  do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94  entry_SYSCALL_64_after_hwframe+0x77/0x7f  CPU: 1 UID: 0 PID: 5798 Comm: syz-executor192 Not tainted 6.16.0-rc1-syzkaller-00010-g2c4a1f3fe03e #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025","modified":"2026-09-01T16:06:14.012607195Z","published":"2025-07-04T14:15:25.377Z","upstream":["CVE-2025-38185"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-38185"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.147-1"}]}],"versions":["6.1.106-1","6.1.106-2","6.1.106-3","6.1.112-1","6.1.115-1","6.1.119-1","6.1.123-1","6.1.124-1","6.1.128-1","6.1.129-1","6.1.133-1","6.1.135-1","6.1.137-1","6.1.139-1","6.1.140-1","6.1.27-1","6.1.37-1","6.1.38-1","6.1.38-2","6.1.38-2~bpo11+1","6.1.38-3","6.1.38-4","6.1.38-4~bpo11+1","6.1.52-1","6.1.55-1","6.1.55-1~bpo11+1","6.1.64-1","6.1.66-1","6.1.67-1","6.1.69-1","6.1.69-1~bpo11+1","6.1.76-1","6.1.76-1~bpo11+1","6.1.82-1","6.1.85-1","6.1.90-1","6.1.90-1~bpo11+1","6.1.94-1","6.1.94-1~bpo11+1","6.1.98-1","6.1.99-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-38185.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.35-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-38185.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.35-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-38185.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"}]}