ksmbd: Fix dangling pointer in krb_authenticate
- 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 5.15.203, 6.1.135, 6.6.88, 6.12.25, 6.14.4
- 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
- Exploitation: none
- Automatable: yes
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix dangling pointer in krb_authenticate krb_authenticate frees sess->user and does not set the pointer to NULL. It calls ksmbd_krb5_authenticate to reinitialise sess->user but that function may return without doing so. If that happens then smb2_sess_setup, which calls krb_authenticate, will be accessing free'd memory when it later uses sess->user.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 0626e6641f6b467447c81dd7678a69c66f7746cf · fixed in b61f04d5d73c53d183019bafe22fb700a739bac5; From 0626e6641f6b467447c81dd7678a69c66f7746cf · fixed in d5b554bc8d554ed6ddf443d3db2fad9f665cec10; From 0626e6641f6b467447c81dd7678a69c66f7746cf · fixed in 1db2451de23e98bc864c6a6e52aa0d82c91cb325; From 0626e6641f6b467447c81dd7678a69c66f7746cf · fixed in 6e30c0e10210c714f3d4453dc258d4abcc70364e; From 0626e6641f6b467447c81dd7678a69c66f7746cf · fixed in e83e39a5f6a01a81411a4558a59a10f87aa88dd6; From 0626e6641f6b467447c81dd7678a69c66f7746cf · fixed in 1e440d5b25b7efccb3defe542a73c51005799a5f
- Linux Linux
5.15
- KernelLinux
From 5.15.0 · fixed in 5.15.203; From 5.16.0 · fixed in 6.1.135; From 6.2.0 · fixed in 6.6.88; From 6.7.0 · fixed in 6.12.25; From 6.13.0 · fixed in 6.14.4