uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind (Linux Linux)

CVE-2024-46739
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.27 % · percentile 20 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind For primary VM Bus channels, primary_channel pointer is always NULL. This pointer is valid only for the secondary channels. Also, rescind callback is meant for primary channels only. Fix NULL pointer dereference by retrieving the device_obj from the parent for the primary channel.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected ca3cda6fcf1e922213a0cc58e708ffb999151db3 < 3d414b64ecf6fd717d7510ffb893c6f23acbf50e ; affected ca3cda6fcf1e922213a0cc58e708ffb999151db3 < f38f46da80a2ab7d1b2f8fcb444c916034a2dac4 ; affected ca3cda6fcf1e922213a0cc58e708ffb999151db3 < 1d8e020e51ab07e40f9dd00b52f1da7d96fec04c ; affected ca3cda6fcf1e922213a0cc58e708ffb999151db3 < 3005091cd537ef8cdb7530dcb2ecfba8d2ef475c ; affected ca3cda6fcf1e922213a0cc58e708ffb999151db3 < 2be373469be1774bbe03b0fa7e2854e65005b1cc ; affected ca3cda6fcf1e922213a0cc58e708ffb999151db3 < de6946be9c8bc7d2279123433495af7c21011b99
Linux · Linuxaffected 4.16 ; unaffected 0 < 4.16 ; unaffected 4.19.322 ≤ 4.19.* ; unaffected 5.4.284 ≤ 5.4.* ; unaffected 5.10.226 ≤ 5.10.* ; unaffected 5.15.167 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD