{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nravb: Fix use-after-free issue in ravb_tx_timeout_work()\n\nThe ravb_stop() should call cancel_work_sync(). Otherwise,\nravb_tx_timeout_work() is possible to use the freed priv after\nravb_remove() was called like below:\n\nCPU0\t\t\tCPU1\n\t\t\travb_tx_timeout()\nravb_remove()\nunregister_netdev()\nfree_netdev(ndev)\n// free priv\n\t\t\travb_tx_timeout_work()\n\t\t\t// use priv\n\nunregister_netdev() will call .ndo_stop() so that ravb_stop() is\ncalled. And, after phy_stop() is called, netif_carrier_off()\nis also called. So that .ndo_tx_timeout() will not be called\nafter phy_stop()."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/net/ethernet/renesas/ravb_main.c"
               ],
               "versions": [
                  {
                     "version": "c156633f1353",
                     "lessThan": "65d34cfd4e34",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c156633f1353",
                     "lessThan": "db9aafa19547",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c156633f1353",
                     "lessThan": "616761cf9df9",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c156633f1353",
                     "lessThan": "6f6fa8061f75",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c156633f1353",
                     "lessThan": "105abd68ad8f",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c156633f1353",
                     "lessThan": "397144287071",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/net/ethernet/renesas/ravb_main.c"
               ],
               "versions": [
                  {
                     "version": "4.2",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.2",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.259",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.199",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.136",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.59",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.5.8",
                     "lessThanOrEqual": "6.5.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5"
            },
            {
               "url": "https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82"
            },
            {
               "url": "https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6"
            },
            {
               "url": "https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965"
            },
            {
               "url": "https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705"
            },
            {
               "url": "https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89"
            }
         ],
         "title": "ravb: Fix use-after-free issue in ravb_tx_timeout_work()",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2023-52509",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
