smb: server: fix leak of ksmbd_ipc_login_request_ext() returned buffer
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.157, 6.12.110, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak of ksmbd_ipc_login_request_ext() returned buffer Free it unconditionally after ksmbd_alloc_user() calls. kmemleak splat: unreferenced object 0xffff888103b83540 (size 192): comm "pool-0", pid 16970, jiffies 4377290937 hex dump (first 32 bytes): 00 00 00 00 01 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 (crc 408ccc66): __kvmalloc_node_noprof+0x730/0x920 handle_generic_event+0xec/0x1a0 [ksmbd] genl_family_rcv_msg_doit+0xe0/0x130 genl_rcv_msg+0x181/0x290 netlink_rcv_skb+0x4f/0x100 genl_rcv+0x28/0x40 netlink_unicast+0x1e6/0x2c0 netlink_sendmsg+0x20a/0x450 ____sys_sendmsg+0x2e8/0x310 ___sys_sendmsg+0x78/0xc0 __sys_sendmsg+0x63/0xc0 do_syscall_64+0xa1/0x670 entry_SYSCALL_64_after_hwframe+0x76/0x7e
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 8a3cd890fd2a7d016a821a1c9dfd8a84d45ad320 · fixed in 4d6fe49fa3e7fbd779c761518e6572e340233c9b; From a77e0e02af1c2db5fc040511aa78a58a52e116ab · fixed in c9f2872e91b9fe99c1d0ba768906f7aeb48c8517; From a77e0e02af1c2db5fc040511aa78a58a52e116ab · fixed in 7a98c3b903b10c4d6176948254012b5ca24b071b; From a77e0e02af1c2db5fc040511aa78a58a52e116ab · fixed in abb5146b2d8197d695ea9eaa0847c73e34f00985; From a77e0e02af1c2db5fc040511aa78a58a52e116ab · fixed in 1c3ebf832d010c08afe1359215d4121cb1ed2de5; From 6.6.141 · fixed in 6.6.157
- Linux Linux
6.12
- KernelLinux
fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.12.0 · fixed in 6.18.52; From 6.13.0 · fixed in 7.2.6