tracing: Fix mmiotrace possible NULL dereferencing of hiter->dev
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 88% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
tracing: Fix mmiotrace possible NULL dereferencing of hiter->dev
If the mmio_pipe_open() fails to find a PCI device, the hiter->dev
will be assigned to NULL. The mmiotrace read() function dereferences the
hiter->dev if hiter exists.
Change the test of the read to not only check hiter being NULL, but also
the hiter->dev before dereferencing it.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/0d5aaf91a3d05f7f993401af27872a5fc0f26edchttps://git.kernel.org/stable/c/144f29e85702234b23d2a62abf723e6a17eb5427https://git.kernel.org/stable/c/201a01102c529772168181190cb084471082cf5chttps://git.kernel.org/stable/c/3635a9e8b453e658a49b39d025f35bbc6e58d0e2https://git.kernel.org/stable/c/724cd84b0546c07806840fa658714488553d13a2https://git.kernel.org/stable/c/8464427e1c177809a9488a97dfa2807d9dcf323bhttps://git.kernel.org/stable/c/c06470320f8156306986a831010cdc9f9f87cb50https://git.kernel.org/stable/c/faaf95135184208ee3ac6f33175c8d1800669dfc