net: ravb: avoid dereferencing an invalid PTP clock
- 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 6.1.188, 6.6.157, 6.12.109, 6.18.50, 7.2.4
- 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: net: ravb: avoid dereferencing an invalid PTP clock The PTP clock is unavailable before the first open, so querying its index can dereference a NULL pointer. Registration failures can also leave an error pointer in priv->ptp.clock. Cache the PHC index separately and report -1 while no clock is registered. Normalize registration errors to NULL and preserve the static timestamping capabilities.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From a0d2f20650e81407d8e51ad2cbdc492861c74e9c · fixed in 29ffd972531f8e6e0edf4ea3496190acff9fc9c2; From a0d2f20650e81407d8e51ad2cbdc492861c74e9c · fixed in bf3308416a2be85dcc9965b614a745b40beeff14; From a0d2f20650e81407d8e51ad2cbdc492861c74e9c · fixed in fc710f89a644e030a7ca15343176ca862fd61b9d; From a0d2f20650e81407d8e51ad2cbdc492861c74e9c · fixed in 8d4d06d6e2b501cb8e30ed3b1924c470358e8052; From a0d2f20650e81407d8e51ad2cbdc492861c74e9c · fixed in 0aaa53936419cf0c19c670387fc6d431e042a1b6; From a0d2f20650e81407d8e51ad2cbdc492861c74e9c · fixed in 1f77af0aaf277413ff32f6ff8c2c4282bd64c897
- Linux Linux
4.2
- KernelLinux
From 4.2.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4