Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
a0d2f20650e81407d8e51ad2cbdc492861c74e9c to < 29ffd972531f8e6e0edf4ea3496190acff9fc9c2affecteda0d2f20650e81407d8e51ad2cbdc492861c74e9c to < bf3308416a2be85dcc9965b614a745b40beeff14affecteda0d2f20650e81407d8e51ad2cbdc492861c74e9c to < fc710f89a644e030a7ca15343176ca862fd61b9daffecteda0d2f20650e81407d8e51ad2cbdc492861c74e9c to < 8d4d06d6e2b501cb8e30ed3b1924c470358e8052affecteda0d2f20650e81407d8e51ad2cbdc492861c74e9c to < 0aaa53936419cf0c19c670387fc6d431e042a1b6affecteda0d2f20650e81407d8e51ad2cbdc492861c74e9c to < 1f77af0aaf277413ff32f6ff8c2c4282bd64c897affected
Linux Linux
Default version status: affected
4.2affected0 to < 4.2unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/29ffd972531f8e6e0edf4ea3496190acff9fc9c2 ↗
- https://git.kernel.org/stable/c/bf3308416a2be85dcc9965b614a745b40beeff14 ↗
- https://git.kernel.org/stable/c/fc710f89a644e030a7ca15343176ca862fd61b9d ↗
- https://git.kernel.org/stable/c/8d4d06d6e2b501cb8e30ed3b1924c470358e8052 ↗
- https://git.kernel.org/stable/c/0aaa53936419cf0c19c670387fc6d431e042a1b6 ↗
- https://git.kernel.org/stable/c/1f77af0aaf277413ff32f6ff8c2c4282bd64c897 ↗