serial: 8250_mid: Fix NULL function pointer dereference on DNV/ICX-D/SNR platforms
3Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackepss 0.2%
probabilidade de exploração
0.2%top 92% das CVEs
exploração observada
nãonenhuma fonte reporta
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.
Produtos afetados
Linux · LinuxReferências
https://git.kernel.org/stable/c/1096397c31f6bffa95e77bdd18fbca085be83e10https://git.kernel.org/stable/c/4ea933a36a14bec19b71025cdd8407bafbd67ec1https://git.kernel.org/stable/c/600dcd548fb2b00a69f447684f52ba45d5a3540ehttps://git.kernel.org/stable/c/7fb13fd7e9a59a37cd911efff83abe19e3ee029dhttps://git.kernel.org/stable/c/8cbad52ccfa6a7f089cfab34979bc6cc3bff25behttps://git.kernel.org/stable/c/b2a3eeb57ba24f8a0e34a69d40adcc63e5b9ca56https://git.kernel.org/stable/c/bdaa8871b53fe9b1730ef64dda2fcd662fd83339https://git.kernel.org/stable/c/f85a42fb90399dedcf81c146d09c07e4548b1e8c