serial: 8250_mid: Fix NULL function pointer dereference on DNV/ICX-D/SNR platforms
- 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.10.266, 5.15.217, 6.1.183, 6.6.148, 6.12.101, and 2 more
- 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: serial: 8250_mid: Fix NULL function pointer dereference on DNV/ICX-D/SNR platforms Commit b1b4efea05a5 ("serial: 8250_mid: Disable DMA for selected platforms") replaced the dnv_board setup and exit callbacks with PTR_IF(false, ...), which evaluates to NULL. However, the three call sites in mid8250_probe() and mid8250_remove() unconditionally dereference these function pointers without NULL checks, causing a NULL pointer dereference (kernel oops) on any Denverton (DNV), Ice Lake Xeon D (ICX-D/CDF), or Snowridge (SNR) platform. Fix this by adding the missing NULL checks before calling the setup and exit callbacks.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
From 5.10.261 · fixed in 5.10.266; From 5.15.212 · fixed in 5.15.217; From 6.1.178 · fixed in 6.1.183; From 6.6.145 · fixed in 6.6.148; From 6.12.96 · fixed in 6.12.101; From 6.18.39 · fixed in 6.18.42; From 7.1.4 · fixed in 7.1.6
References 8
git.kernel.org
- stable/c/bdaa8871b53fe9b1730ef64dda2fcd662fd83339
- stable/c/f85a42fb90399dedcf81c146d09c07e4548b1e8c
- stable/c/4ea933a36a14bec19b71025cdd8407bafbd67ec1
- stable/c/1096397c31f6bffa95e77bdd18fbca085be83e10
- stable/c/600dcd548fb2b00a69f447684f52ba45d5a3540e
- stable/c/b2a3eeb57ba24f8a0e34a69d40adcc63e5b9ca56
- stable/c/8cbad52ccfa6a7f089cfab34979bc6cc3bff25be
- stable/c/7fb13fd7e9a59a37cd911efff83abe19e3ee029d