media: microchip-csi2dc: fix async notifier leak on probe error path (Linux Linux)

CVE-2026-99466
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: media: microchip-csi2dc: fix async notifier leak on probe error path csi2dc_of_parse() ends up calling csi2dc_prepare_notifier(), which registers the V4L2 async notifier with v4l2_async_nf_register(). The probe error label csi2dc_probe_cleanup_notifier is reached after csi2dc_of_parse() has already succeeded (e.g. when media entity init, csi2dc_power() or v4l2_async_register_subdev() fail), but it calls only v4l2_async_nf_cleanup() and never v4l2_async_nf_unregister(). The notifier therefore stays chained in the global notifier_list while the enclosing struct csi2dc_device is freed, leading to list corruption and a use-after-free when the list is next walked. Unregister the notifier before cleaning it up on the error path, matching the teardown already done in csi2dc_remove().

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 2de0b3c0f678422ef2211760079a27c3cb1404b2 < 92f9fad36158fe0dfb1b102e0edd291482cb2f29
affected : ≥ 2de0b3c0f678422ef2211760079a27c3cb1404b2 < 732aa9069c0f03ab8186997532b4b77eeb77e797
affected : ≥ 2de0b3c0f678422ef2211760079a27c3cb1404b2 < c287bcddda615b3c954cb5b1fc7e59292c878eeb
affected : ≥ 2de0b3c0f678422ef2211760079a27c3cb1404b2 < 9fa70d75ab03f5babb072ad872a54879af4be55c
affected : ≥ 2de0b3c0f678422ef2211760079a27c3cb1404b2 < e7dd17ce3190dd6f60e2d0153d8df15562347947
affected : ≥ 2de0b3c0f678422ef2211760079a27c3cb1404b2 < c7528789244ce7329ca883170fb9315d739ae985
Other versions : unaffected
Linux · Linux
affected : 5.18
unaffected : ≥ 0 < 5.18
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

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