Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2023-52509

ravb: Fix use-after-free issue in ravb_tx_timeout_work()

Description

In the Linux kernel, the following vulnerability has been resolved: ravb: Fix use-after-free issue in ravb_tx_timeout_work() The ravb_stop() should call cancel_work_sync(). Otherwise, ravb_tx_timeout_work() is possible to use the freed priv after ravb_remove() was called like below: CPU0 CPU1 ravb_tx_timeout() ravb_remove() unregister_netdev() free_netdev(ndev) // free priv ravb_tx_timeout_work() // use priv unregister_netdev() will call .ndo_stop() so that ravb_stop() is called. And, after phy_stop() is called, netif_carrier_off() is also called. So that .ndo_tx_timeout() will not be called after phy_stop().

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

  • c156633f1353264634135dea86ffcae74f2122fc to < 65d34cfd4e347054eb4193bc95d9da7eaa72dee5affected
  • c156633f1353264634135dea86ffcae74f2122fc to < db9aafa19547833240f58c2998aed7baf414dc82affected
  • c156633f1353264634135dea86ffcae74f2122fc to < 616761cf9df9af838c0a1a1232a69322a9eb67e6affected
  • c156633f1353264634135dea86ffcae74f2122fc to < 6f6fa8061f756aedb93af12a8a5d3cf659127965affected
  • c156633f1353264634135dea86ffcae74f2122fc to < 105abd68ad8f781985113aee2e92e0702b133705affected
  • c156633f1353264634135dea86ffcae74f2122fc to < 3971442870713de527684398416970cf025b4f89affected

Linux Linux

Default version status: affected

  • 4.2affected
  • 0 to < 4.2unaffected
  • 5.4.259 to ≤ 5.4.*unaffected
  • 5.10.199 to ≤ 5.10.*unaffected
  • 5.15.136 to ≤ 5.15.*unaffected
  • 6.1.59 to ≤ 6.1.*unaffected
  • 6.5.8 to ≤ 6.5.*unaffected
  • 6.6 to ≤ *unaffected

References