CVE-2022-49442 (GCVE-0-2022-49442)

Vulnerability from cvelistv5 – Published: 2025-02-26 02:12 – Updated: 2025-05-04 08:37
VLAI?
Title
drivers/base/node.c: fix compaction sysfs file leak
Summary
In the Linux kernel, the following vulnerability has been resolved: drivers/base/node.c: fix compaction sysfs file leak Compaction sysfs file is created via compaction_register_node in register_node. But we forgot to remove it in unregister_node. Thus compaction sysfs file is leaked. Using compaction_unregister_node to fix this issue.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 , < 39642b0feddb9c39faa6de469a94bfeb4dc0d3a9 (git)
Affected: ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 , < 606732650a2c88e66c59c22dd5464ea0d820250e (git)
Affected: ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 , < f76ddc8fcf6d81fe89bfa4d3efcbc4fe69a91d48 (git)
Affected: ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 , < 386e69e068177ee91cac27f2f0e6ebda1515f5ca (git)
Affected: ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 , < d8a5bdc767f17281da648555cdbd286f98fd98ee (git)
Affected: ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 , < b3fcf1f583b1a0946d9d9bfb7362c9c186801775 (git)
Affected: ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 , < 466134df7561aeb801baddf6666b512e0e1a1707 (git)
Affected: ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 , < 6905be93d1ab54f73718047536fec0ca488d5315 (git)
Affected: ed4a6d7f0676db50b5023cc01f6cda82a2f2a307 , < da63dc84befaa9e6079a0bc363ff0eaa975f9073 (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.35
Unaffected: 0 , < 2.6.35 (semver)
Unaffected: 4.9.318 , ≤ 4.9.* (semver)
Unaffected: 4.14.283 , ≤ 4.14.* (semver)
Unaffected: 4.19.247 , ≤ 4.19.* (semver)
Unaffected: 5.4.198 , ≤ 5.4.* (semver)
Unaffected: 5.10.121 , ≤ 5.10.* (semver)
Unaffected: 5.15.46 , ≤ 5.15.* (semver)
Unaffected: 5.17.14 , ≤ 5.17.* (semver)
Unaffected: 5.18.3 , ≤ 5.18.* (semver)
Unaffected: 5.19 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/base/node.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "39642b0feddb9c39faa6de469a94bfeb4dc0d3a9",
              "status": "affected",
              "version": "ed4a6d7f0676db50b5023cc01f6cda82a2f2a307",
              "versionType": "git"
            },
            {
              "lessThan": "606732650a2c88e66c59c22dd5464ea0d820250e",
              "status": "affected",
              "version": "ed4a6d7f0676db50b5023cc01f6cda82a2f2a307",
              "versionType": "git"
            },
            {
              "lessThan": "f76ddc8fcf6d81fe89bfa4d3efcbc4fe69a91d48",
              "status": "affected",
              "version": "ed4a6d7f0676db50b5023cc01f6cda82a2f2a307",
              "versionType": "git"
            },
            {
              "lessThan": "386e69e068177ee91cac27f2f0e6ebda1515f5ca",
              "status": "affected",
              "version": "ed4a6d7f0676db50b5023cc01f6cda82a2f2a307",
              "versionType": "git"
            },
            {
              "lessThan": "d8a5bdc767f17281da648555cdbd286f98fd98ee",
              "status": "affected",
              "version": "ed4a6d7f0676db50b5023cc01f6cda82a2f2a307",
              "versionType": "git"
            },
            {
              "lessThan": "b3fcf1f583b1a0946d9d9bfb7362c9c186801775",
              "status": "affected",
              "version": "ed4a6d7f0676db50b5023cc01f6cda82a2f2a307",
              "versionType": "git"
            },
            {
              "lessThan": "466134df7561aeb801baddf6666b512e0e1a1707",
              "status": "affected",
              "version": "ed4a6d7f0676db50b5023cc01f6cda82a2f2a307",
              "versionType": "git"
            },
            {
              "lessThan": "6905be93d1ab54f73718047536fec0ca488d5315",
              "status": "affected",
              "version": "ed4a6d7f0676db50b5023cc01f6cda82a2f2a307",
              "versionType": "git"
            },
            {
              "lessThan": "da63dc84befaa9e6079a0bc363ff0eaa975f9073",
              "status": "affected",
              "version": "ed4a6d7f0676db50b5023cc01f6cda82a2f2a307",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/base/node.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.35"
            },
            {
              "lessThan": "2.6.35",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.318",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.283",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.247",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.121",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.46",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.3",
              "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": "4.9.318",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.283",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.247",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.198",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.121",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.46",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.14",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.3",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19",
                  "versionStartIncluding": "2.6.35",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers/base/node.c: fix compaction sysfs file leak\n\nCompaction sysfs file is created via compaction_register_node in\nregister_node.  But we forgot to remove it in unregister_node.  Thus\ncompaction sysfs file is leaked.  Using compaction_unregister_node to fix\nthis issue."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T08:37:50.130Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/39642b0feddb9c39faa6de469a94bfeb4dc0d3a9"
        },
        {
          "url": "https://git.kernel.org/stable/c/606732650a2c88e66c59c22dd5464ea0d820250e"
        },
        {
          "url": "https://git.kernel.org/stable/c/f76ddc8fcf6d81fe89bfa4d3efcbc4fe69a91d48"
        },
        {
          "url": "https://git.kernel.org/stable/c/386e69e068177ee91cac27f2f0e6ebda1515f5ca"
        },
        {
          "url": "https://git.kernel.org/stable/c/d8a5bdc767f17281da648555cdbd286f98fd98ee"
        },
        {
          "url": "https://git.kernel.org/stable/c/b3fcf1f583b1a0946d9d9bfb7362c9c186801775"
        },
        {
          "url": "https://git.kernel.org/stable/c/466134df7561aeb801baddf6666b512e0e1a1707"
        },
        {
          "url": "https://git.kernel.org/stable/c/6905be93d1ab54f73718047536fec0ca488d5315"
        },
        {
          "url": "https://git.kernel.org/stable/c/da63dc84befaa9e6079a0bc363ff0eaa975f9073"
        }
      ],
      "title": "drivers/base/node.c: fix compaction sysfs file leak",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49442",
    "datePublished": "2025-02-26T02:12:55.291Z",
    "dateReserved": "2025-02-26T02:08:31.571Z",
    "dateUpdated": "2025-05-04T08:37:50.130Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…