GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-49385 (GCVE-0-2022-49385)

Vulnerability from cvelistv5 – Published: 2025-02-26 02:11 – Updated: 2026-08-05 08:54
VLAI
Title
driver: base: fix UAF when driver_attach failed
Summary
In the Linux kernel, the following vulnerability has been resolved: driver: base: fix UAF when driver_attach failed When driver_attach(drv); failed, the driver_private will be freed. But it has been added to the bus, which caused a UAF. To fix it, we need to delete it from the bus when failed.
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-02-27 17:58 UTC
CWE
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 190888ac01d059e38ffe77a2291d44cafa9016fb , < 5d709f58c743166fe1c6914b9de0ae8868600d9b (git)
Affected: 190888ac01d059e38ffe77a2291d44cafa9016fb , < 823f24f2e329babd0330200d0b74882516fe57f4 (git)
Affected: 190888ac01d059e38ffe77a2291d44cafa9016fb , < cdf1a683a01583bca4b618dd16223cbd6e462e21 (git)
Affected: 190888ac01d059e38ffe77a2291d44cafa9016fb , < 5389101257828d1913d713d9a40acbe14f5961df (git)
Affected: 190888ac01d059e38ffe77a2291d44cafa9016fb , < c059665c84feab46b7173d3a1bf36c2fb7f9df86 (git)
Affected: 190888ac01d059e38ffe77a2291d44cafa9016fb , < 310862e574001a97ad02272bac0fd13f75f42a27 (git)
guessed Create a notification for this product.
Linux Linux Affected: 3.9
Unaffected: 0 , < 3.9 (semver)
Unaffected: 5.4.198 , ≤ 5.4.* (semver)
Unaffected: 5.10.122 , ≤ 5.10.* (semver)
Unaffected: 5.15.47 , ≤ 5.15.* (semver)
Unaffected: 5.17.15 , ≤ 5.17.* (semver)
Unaffected: 5.18.4 , ≤ 5.18.* (semver)
Unaffected: 5.19 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2022-49385",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-27T17:58:41.954887Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-416",
                "description": "CWE-416 Use After Free",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-27T18:02:28.951Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/base/bus.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5d709f58c743166fe1c6914b9de0ae8868600d9b",
              "status": "affected",
              "version": "190888ac01d059e38ffe77a2291d44cafa9016fb",
              "versionType": "git"
            },
            {
              "lessThan": "823f24f2e329babd0330200d0b74882516fe57f4",
              "status": "affected",
              "version": "190888ac01d059e38ffe77a2291d44cafa9016fb",
              "versionType": "git"
            },
            {
              "lessThan": "cdf1a683a01583bca4b618dd16223cbd6e462e21",
              "status": "affected",
              "version": "190888ac01d059e38ffe77a2291d44cafa9016fb",
              "versionType": "git"
            },
            {
              "lessThan": "5389101257828d1913d713d9a40acbe14f5961df",
              "status": "affected",
              "version": "190888ac01d059e38ffe77a2291d44cafa9016fb",
              "versionType": "git"
            },
            {
              "lessThan": "c059665c84feab46b7173d3a1bf36c2fb7f9df86",
              "status": "affected",
              "version": "190888ac01d059e38ffe77a2291d44cafa9016fb",
              "versionType": "git"
            },
            {
              "lessThan": "310862e574001a97ad02272bac0fd13f75f42a27",
              "status": "affected",
              "version": "190888ac01d059e38ffe77a2291d44cafa9016fb",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/base/bus.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.9"
            },
            {
              "lessThan": "3.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.122",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.47",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.15",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.198",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.122",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.47",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.15",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.4",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndriver: base: fix UAF when driver_attach failed\n\nWhen driver_attach(drv); failed, the driver_private will be freed.\nBut it has been added to the bus, which caused a UAF.\n\nTo fix it, we need to delete it from the bus when failed."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable path is bus_add_driver() in the local driver core, reached via driver_register() during module load/autoload or privileged driver bind\u2014not via network packet processing or adjacent-link protocols.\nAC:L - Once driver_attach() returns an error, kobject_put frees driver_private while knode_bus remains linked on klist_drivers with no get/put callbacks, leaving a permanent dangling list node; subsequent bus_for_each_drv()/device_attach iteration hits the UAF deterministically with no race the attacker must win.\nPR:L - Although direct init_module requires CAP_SYS_MODULE, unprivileged local users can trigger module autoload (request_module via sockets, filesystems, etc.) so that modprobe runs driver_register() in kernel context, and after the dangling entry is planted any local user can exercise bus driver iteration; when uncertain, Low is required over High.\nUI:N - The attacker triggers driver registration and later bus_for_each_drv use themselves through local operations; no separate victim action such as mounting a filesystem or opening a crafted file is required.\nS:U - Impact is use-after-free of kernel driver_private within the host kernel\u2019s driver-core lists, enabling standard local privilege escalation in the same security authority without VM escape or IOMMU/sandbox boundary crossing.\nC:H - Use-after-free of the kmalloc\u2019d driver_private (containing kobject and driver pointer) allows heap reuse and arbitrary kernel memory disclosure when next_driver()/bus_for_each_drv walks the dangling knode, scored Confidentiality High per UAF guidance.\nI:H - The same UAF on a list-linked slab object enables heap spraying and corruption of adjacent kernel objects or control-flow hijack when driver matching/probe paths dereference the reclaimed driver_private, scored Integrity High.\nA:H - Walking a freed klist_node or dereferencing drv_priv-\u003edriver after free can oops/panic the kernel even without full exploitation, so Availability impact is High."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T08:54:58.796Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5d709f58c743166fe1c6914b9de0ae8868600d9b"
        },
        {
          "url": "https://git.kernel.org/stable/c/823f24f2e329babd0330200d0b74882516fe57f4"
        },
        {
          "url": "https://git.kernel.org/stable/c/cdf1a683a01583bca4b618dd16223cbd6e462e21"
        },
        {
          "url": "https://git.kernel.org/stable/c/5389101257828d1913d713d9a40acbe14f5961df"
        },
        {
          "url": "https://git.kernel.org/stable/c/c059665c84feab46b7173d3a1bf36c2fb7f9df86"
        },
        {
          "url": "https://git.kernel.org/stable/c/310862e574001a97ad02272bac0fd13f75f42a27"
        }
      ],
      "title": "driver: base: fix UAF when driver_attach failed",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49385",
    "datePublished": "2025-02-26T02:11:20.725Z",
    "dateReserved": "2025-02-26T02:08:31.560Z",
    "dateUpdated": "2026-08-05T08:54:58.796Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-49385",
      "date": "2026-09-16",
      "epss": "0.00297",
      "percentile": "0.22399"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-49385\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-02-26T07:01:15.103\",\"lastModified\":\"2026-06-17T05:17:53.893\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndriver: base: fix UAF when driver_attach failed\\n\\nWhen driver_attach(drv); failed, the driver_private will be freed.\\nBut it has been added to the bus, which caused a UAF.\\n\\nTo fix it, we need to delete it from the bus when failed.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: driver: base: fix UAF when driver_attach failed Cuando driver_attach(drv); falla, se libera driver_private. Pero se ha a\u00f1adido al bus, lo que ha provocado un UAF. Para solucionarlo, debemos eliminarlo del bus cuando falla.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/base/bus.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"190888ac01d059e38ffe77a2291d44cafa9016fb\",\"lessThan\":\"5d709f58c743166fe1c6914b9de0ae8868600d9b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"190888ac01d059e38ffe77a2291d44cafa9016fb\",\"lessThan\":\"823f24f2e329babd0330200d0b74882516fe57f4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"190888ac01d059e38ffe77a2291d44cafa9016fb\",\"lessThan\":\"cdf1a683a01583bca4b618dd16223cbd6e462e21\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"190888ac01d059e38ffe77a2291d44cafa9016fb\",\"lessThan\":\"5389101257828d1913d713d9a40acbe14f5961df\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"190888ac01d059e38ffe77a2291d44cafa9016fb\",\"lessThan\":\"c059665c84feab46b7173d3a1bf36c2fb7f9df86\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"190888ac01d059e38ffe77a2291d44cafa9016fb\",\"lessThan\":\"310862e574001a97ad02272bac0fd13f75f42a27\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/base/bus.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3.9\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"3.9\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.198\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.122\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.47\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.17.15\",\"lessThanOrEqual\":\"5.17.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.18.4\",\"lessThanOrEqual\":\"5.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.19\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2025-02-27T17:58:41.954887Z\",\"id\":\"CVE-2022-49385\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-416\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.9\",\"versionEndExcluding\":\"5.4.198\",\"matchCriteriaId\":\"289EB399-F22E-4F49-A013-FDAA898FE70E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.122\",\"matchCriteriaId\":\"1B42AA01-44D8-4572-95E6-FF8E374CF9C5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.47\",\"matchCriteriaId\":\"FC042EE3-4864-4325-BE0B-4BCDBF11AA61\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"5.17.15\",\"matchCriteriaId\":\"53E7AA2E-2FB4-45CA-A22B-08B4EDBB51AD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.18\",\"versionEndExcluding\":\"5.18.4\",\"matchCriteriaId\":\"FA6D643C-6D6A-4821-8A8D-B5776B8F0103\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/310862e574001a97ad02272bac0fd13f75f42a27\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5389101257828d1913d713d9a40acbe14f5961df\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5d709f58c743166fe1c6914b9de0ae8868600d9b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/823f24f2e329babd0330200d0b74882516fe57f4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/c059665c84feab46b7173d3a1bf36c2fb7f9df86\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cdf1a683a01583bca4b618dd16223cbd6e462e21\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-29T21:05:50+00:00",
      "cve": "CVE-2022-49385",
      "id": "CVE-2022-49385",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:fixed": "164",
      "product_status:known_affected": "198",
      "product_status:known_not_affected": "76",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: driver: base: fix UAF when driver_attach failed",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-49385.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-11T16:54:44Z",
      "cve": "CVE-2022-49385",
      "id": "CVE-2022-49385",
      "initial_release_date": "2025-02-27T03:07:46Z",
      "product_status:known_affected": "497",
      "product_status:known_not_affected": "186",
      "product_status:recommended": "333",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-49385",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-49385.json",
      "version": "60"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.8, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-49385\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-02-27T17:58:41.954887Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-416\", \"description\": \"CWE-416 Use After Free\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-02-27T17:58:43.181Z\"}}], \"cna\": {\"title\": \"driver: base: fix UAF when driver_attach failed\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"190888ac01d059e38ffe77a2291d44cafa9016fb\", \"lessThan\": \"5d709f58c743166fe1c6914b9de0ae8868600d9b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"190888ac01d059e38ffe77a2291d44cafa9016fb\", \"lessThan\": \"823f24f2e329babd0330200d0b74882516fe57f4\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"190888ac01d059e38ffe77a2291d44cafa9016fb\", \"lessThan\": \"cdf1a683a01583bca4b618dd16223cbd6e462e21\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"190888ac01d059e38ffe77a2291d44cafa9016fb\", \"lessThan\": \"5389101257828d1913d713d9a40acbe14f5961df\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"190888ac01d059e38ffe77a2291d44cafa9016fb\", \"lessThan\": \"c059665c84feab46b7173d3a1bf36c2fb7f9df86\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"190888ac01d059e38ffe77a2291d44cafa9016fb\", \"lessThan\": \"310862e574001a97ad02272bac0fd13f75f42a27\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/base/bus.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.9\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"3.9\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.4.198\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.122\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.47\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.17.15\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.17.*\"}, {\"status\": \"unaffected\", \"version\": \"5.18.4\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.18.*\"}, {\"status\": \"unaffected\", \"version\": \"5.19\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/base/bus.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/5d709f58c743166fe1c6914b9de0ae8868600d9b\"}, {\"url\": \"https://git.kernel.org/stable/c/823f24f2e329babd0330200d0b74882516fe57f4\"}, {\"url\": \"https://git.kernel.org/stable/c/cdf1a683a01583bca4b618dd16223cbd6e462e21\"}, {\"url\": \"https://git.kernel.org/stable/c/5389101257828d1913d713d9a40acbe14f5961df\"}, {\"url\": \"https://git.kernel.org/stable/c/c059665c84feab46b7173d3a1bf36c2fb7f9df86\"}, {\"url\": \"https://git.kernel.org/stable/c/310862e574001a97ad02272bac0fd13f75f42a27\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndriver: base: fix UAF when driver_attach failed\\n\\nWhen driver_attach(drv); failed, the driver_private will be freed.\\nBut it has been added to the bus, which caused a UAF.\\n\\nTo fix it, we need to delete it from the bus when failed.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.198\", \"versionStartIncluding\": \"3.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.122\", \"versionStartIncluding\": \"3.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.47\", \"versionStartIncluding\": \"3.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.17.15\", \"versionStartIncluding\": \"3.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.18.4\", \"versionStartIncluding\": \"3.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.19\", \"versionStartIncluding\": \"3.9\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-05-11T18:58:40.297Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-49385\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-05-11T18:58:40.297Z\", \"dateReserved\": \"2025-02-26T02:08:31.560Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-02-26T02:11:20.725Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…