CVE-2022-49729 (GCVE-0-2022-49729)

Vulnerability from cvelistv5 – Published: 2025-02-26 02:24 – Updated: 2025-12-23 13:25
VLAI?
Title
nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred
Summary
In the Linux kernel, the following vulnerability has been resolved: nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred Similar to the handling of play_deferred in commit 19cfe912c37b ("Bluetooth: btusb: Fix memory leak in play_deferred"), we thought a patch might be needed here as well. Currently usb_submit_urb is called directly to submit deferred tx urbs after unanchor them. So the usb_giveback_urb_bh would failed to unref it in usb_unanchor_urb and cause memory leak. Put those urbs in tx_anchor to avoid the leak, and also fix the error handling.
CWE
  • CWE-401 - Missing Release of Memory after Effective Lifetime
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa , < 1eb0afecfb9cd0f38424b82bd9aaa542310934ee (git)
Affected: f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa , < f21f908347712b8288ffe83b531b5e977042b29c (git)
Affected: f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa , < 3e7c7df6991ac349f2fa8540047757df666e610f (git)
Affected: f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa , < 6b4d8b44e7163a77fe942f5b80e1651c1b78c537 (git)
Affected: f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa , < 0eeec1a8b0cd38c47edeb042980a6aeacecf35ed (git)
Affected: f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa , < 6616872cfe7f0474a22dd1f12699f95bcf81a54d (git)
Affected: f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa , < 3eadc560c1919b8193d17334145dad9a917960e4 (git)
Affected: f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa , < 8a4d480702b71184fabcf379b80bf7539716752e (git)
Create a notification for this product.
    Linux Linux Affected: 3.14
Unaffected: 0 , < 3.14 (semver)
Unaffected: 4.9.320 , ≤ 4.9.* (semver)
Unaffected: 4.14.285 , ≤ 4.14.* (semver)
Unaffected: 4.19.249 , ≤ 4.19.* (semver)
Unaffected: 5.4.200 , ≤ 5.4.* (semver)
Unaffected: 5.10.124 , ≤ 5.10.* (semver)
Unaffected: 5.15.49 , ≤ 5.15.* (semver)
Unaffected: 5.18.6 , ≤ 5.18.* (semver)
Unaffected: 5.19 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2022-49729",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-10-01T19:31:56.699706Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-401",
                "description": "CWE-401 Missing Release of Memory after Effective Lifetime",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-10-01T19:36:43.790Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/nfc/nfcmrvl/usb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1eb0afecfb9cd0f38424b82bd9aaa542310934ee",
              "status": "affected",
              "version": "f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa",
              "versionType": "git"
            },
            {
              "lessThan": "f21f908347712b8288ffe83b531b5e977042b29c",
              "status": "affected",
              "version": "f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa",
              "versionType": "git"
            },
            {
              "lessThan": "3e7c7df6991ac349f2fa8540047757df666e610f",
              "status": "affected",
              "version": "f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa",
              "versionType": "git"
            },
            {
              "lessThan": "6b4d8b44e7163a77fe942f5b80e1651c1b78c537",
              "status": "affected",
              "version": "f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa",
              "versionType": "git"
            },
            {
              "lessThan": "0eeec1a8b0cd38c47edeb042980a6aeacecf35ed",
              "status": "affected",
              "version": "f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa",
              "versionType": "git"
            },
            {
              "lessThan": "6616872cfe7f0474a22dd1f12699f95bcf81a54d",
              "status": "affected",
              "version": "f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa",
              "versionType": "git"
            },
            {
              "lessThan": "3eadc560c1919b8193d17334145dad9a917960e4",
              "status": "affected",
              "version": "f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa",
              "versionType": "git"
            },
            {
              "lessThan": "8a4d480702b71184fabcf379b80bf7539716752e",
              "status": "affected",
              "version": "f26e30cc6b50ba81e30ca3016c29ad4b48b93eaa",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/nfc/nfcmrvl/usb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.14"
            },
            {
              "lessThan": "3.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.320",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.285",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.249",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.200",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.124",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.49",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.6",
              "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.320",
                  "versionStartIncluding": "3.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.285",
                  "versionStartIncluding": "3.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.249",
                  "versionStartIncluding": "3.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.200",
                  "versionStartIncluding": "3.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.124",
                  "versionStartIncluding": "3.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.49",
                  "versionStartIncluding": "3.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.6",
                  "versionStartIncluding": "3.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19",
                  "versionStartIncluding": "3.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred\n\nSimilar to the handling of play_deferred in commit 19cfe912c37b\n(\"Bluetooth: btusb: Fix memory leak in play_deferred\"), we thought\na patch might be needed here as well.\n\nCurrently usb_submit_urb is called directly to submit deferred tx\nurbs after unanchor them.\n\nSo the usb_giveback_urb_bh would failed to unref it in usb_unanchor_urb\nand cause memory leak.\n\nPut those urbs in tx_anchor to avoid the leak, and also fix the error\nhandling."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-23T13:25:14.304Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1eb0afecfb9cd0f38424b82bd9aaa542310934ee"
        },
        {
          "url": "https://git.kernel.org/stable/c/f21f908347712b8288ffe83b531b5e977042b29c"
        },
        {
          "url": "https://git.kernel.org/stable/c/3e7c7df6991ac349f2fa8540047757df666e610f"
        },
        {
          "url": "https://git.kernel.org/stable/c/6b4d8b44e7163a77fe942f5b80e1651c1b78c537"
        },
        {
          "url": "https://git.kernel.org/stable/c/0eeec1a8b0cd38c47edeb042980a6aeacecf35ed"
        },
        {
          "url": "https://git.kernel.org/stable/c/6616872cfe7f0474a22dd1f12699f95bcf81a54d"
        },
        {
          "url": "https://git.kernel.org/stable/c/3eadc560c1919b8193d17334145dad9a917960e4"
        },
        {
          "url": "https://git.kernel.org/stable/c/8a4d480702b71184fabcf379b80bf7539716752e"
        }
      ],
      "title": "nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49729",
    "datePublished": "2025-02-26T02:24:40.021Z",
    "dateReserved": "2025-02-26T02:21:30.448Z",
    "dateUpdated": "2025-12-23T13:25:14.304Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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…