rxrpc, afs: Fix missing error pointer check after rxrpc_kernel_lookup_peer()
- 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.8, 6.12.114, 6.18.19, 6.19.9
- 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: rxrpc, afs: Fix missing error pointer check after rxrpc_kernel_lookup_peer() rxrpc_kernel_lookup_peer() can also return error pointers in addition to NULL, so just checking for NULL is not sufficient. Fix this by: (1) Changing rxrpc_kernel_lookup_peer() to return -ENOMEM rather than NULL on allocation failure. (2) Making the callers in afs use IS_ERR() and PTR_ERR() to pass on the error code returned.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 72904d7b9bfbf2dd146254edea93958bc35bbbfe · fixed in d854c93b12f2076c564f595b41b93b02fd42a0f9; From 72904d7b9bfbf2dd146254edea93958bc35bbbfe · fixed in d55fa7cd4b19ba91b34b307d769c149e56ad0a75; From 72904d7b9bfbf2dd146254edea93958bc35bbbfe · fixed in 54331c5dcc6d97683d7ca2788e7ef9c9505e1477; From 72904d7b9bfbf2dd146254edea93958bc35bbbfe · fixed in 4245a79003adf30e67f8e9060915bd05cb31d142; From 6.7.3 · fixed in 6.8
- Linux Linux
6.8
- KernelLinux
From 6.8.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.19; From 6.19.0 · fixed in 6.19.9