CVE-2022-49149 (GCVE-0-2022-49149)
Vulnerability from cvelistv5
Published
2025-02-26 01:55
Modified
2026-10-15 21:21
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix call timer start racing with call destruction The rxrpc_call struct has a timer used to handle various timed events relating to a call. This timer can get started from the packet input routines that are run in softirq mode with just the RCU read lock held. Unfortunately, because only the RCU read lock is held - and neither ref or other lock is taken - the call can start getting destroyed at the same time a packet comes in addressed to that call. This causes the timer - which was already stopped - to get restarted. Later, the timer dispatch code may then oops if the timer got deallocated first. Fix this by trying to take a ref on the rxrpc_call struct and, if successful, passing that ref along to the timer. If the timer was already running, the ref is discarded. The timer completion routine can then pass the ref along to the call's work item when it queues it. If the timer or work item where already queued/running, the extra ref is discarded.
Impacted products
Vendor Product Version
Linux Linux Version: a158bdd3247b9656df36ba133235fff702e9fdc3
Version: a158bdd3247b9656df36ba133235fff702e9fdc3
Version: a158bdd3247b9656df36ba133235fff702e9fdc3
Version: a158bdd3247b9656df36ba133235fff702e9fdc3
Version: a158bdd3247b9656df36ba133235fff702e9fdc3
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2022-49149",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-15T21:17:44.612254Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-15T21:21:07.051Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/trace/events/rxrpc.h",
            "net/rxrpc/ar-internal.h",
            "net/rxrpc/call_event.c",
            "net/rxrpc/call_object.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "051360e51341cd17738d82c15a8226010c7cb7f6",
              "status": "affected",
              "version": "a158bdd3247b9656df36ba133235fff702e9fdc3",
              "versionType": "git"
            },
            {
              "lessThan": "8cbf4ae7a2833767d63114573e5f9a45740cc975",
              "status": "affected",
              "version": "a158bdd3247b9656df36ba133235fff702e9fdc3",
              "versionType": "git"
            },
            {
              "lessThan": "54df5a37f1d951ed27fd47bf9b15a42279582110",
              "status": "affected",
              "version": "a158bdd3247b9656df36ba133235fff702e9fdc3",
              "versionType": "git"
            },
            {
              "lessThan": "5e3c11144e557a9dbf9a2f6abe444689ef9d8aae",
              "status": "affected",
              "version": "a158bdd3247b9656df36ba133235fff702e9fdc3",
              "versionType": "git"
            },
            {
              "lessThan": "4a7f62f91933c8ae5308f9127fd8ea48188b6bc3",
              "status": "affected",
              "version": "a158bdd3247b9656df36ba133235fff702e9fdc3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/trace/events/rxrpc.h",
            "net/rxrpc/ar-internal.h",
            "net/rxrpc/call_event.c",
            "net/rxrpc/call_object.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.15"
            },
            {
              "lessThan": "4.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.16.*",
              "status": "unaffected",
              "version": "5.16.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.110",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.33",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.16.19",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.2",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix call timer start racing with call destruction\n\nThe rxrpc_call struct has a timer used to handle various timed events\nrelating to a call.  This timer can get started from the packet input\nroutines that are run in softirq mode with just the RCU read lock held.\nUnfortunately, because only the RCU read lock is held - and neither ref or\nother lock is taken - the call can start getting destroyed at the same time\na packet comes in addressed to that call.  This causes the timer - which\nwas already stopped - to get restarted.  Later, the timer dispatch code may\nthen oops if the timer got deallocated first.\n\nFix this by trying to take a ref on the rxrpc_call struct and, if\nsuccessful, passing that ref along to the timer.  If the timer was already\nrunning, the ref is discarded.\n\nThe timer completion routine can then pass the ref along to the call\u0027s work\nitem when it queues it.  If the timer or work item where already\nqueued/running, the extra ref is discarded."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The vulnerable path is UDP RxRPC packet receive (rxrpc_input_packet \u2192 rxrpc_input_call_packet \u2192 rxrpc_reduce_call_timer). AFS opens a listening CM service socket over UDP, and AF_RXRPC processes call-bound packets from remote peers across the network.\nAC:L - A remote peer controls packet delivery that restarts the call timer and can force call teardown via ABORT/completion while flooding late packets, so the attacker drives both sides of the destruction-vs-timer race rather than relying on an uncontrollable condition.\nPR:N - Packet processing runs in softirq with only RCU; no local credentials are required. On an AFS/RxRPC endpoint, an unauthenticated or already-peered remote sender can address packets to an in-flight call without privileges on the victim host.\nUI:N - Once AF_RXRPC/AFS is active, exploitation is driven solely by received UDP packets and concurrent call teardown; no user mount, open, or other interactive action is required.\nS:U - Impact is confined to the host kernel\u2019s RxRPC call object lifetime (timer UAF/oops); this is not a VM escape, IOMMU bypass, or other cross-authority boundary.\nC:H - The race restarts an embedded timer on an rxrpc_call that can then be freed, yielding a use-after-free that can be reused via heap spraying for arbitrary kernel memory disclosure.\nI:H - The same timer-vs-destruction UAF on the freed rxrpc_call enables heap reuse and control-flow/integrity compromise, not merely a clean failure path.\nA:H - The commit reports that the timer dispatch path can oops after the call (and its embedded timer) is deallocated; any such UAF also reliably crashes or hangs the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T08:54:04.806Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/051360e51341cd17738d82c15a8226010c7cb7f6"
        },
        {
          "url": "https://git.kernel.org/stable/c/8cbf4ae7a2833767d63114573e5f9a45740cc975"
        },
        {
          "url": "https://git.kernel.org/stable/c/54df5a37f1d951ed27fd47bf9b15a42279582110"
        },
        {
          "url": "https://git.kernel.org/stable/c/5e3c11144e557a9dbf9a2f6abe444689ef9d8aae"
        },
        {
          "url": "https://git.kernel.org/stable/c/4a7f62f91933c8ae5308f9127fd8ea48188b6bc3"
        }
      ],
      "title": "rxrpc: Fix call timer start racing with call destruction",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49149",
    "datePublished": "2025-02-26T01:55:16.371Z",
    "dateReserved": "2025-02-26T01:49:39.274Z",
    "dateUpdated": "2026-10-15T21:21:07.051Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-49149\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-15T21:17:44.612254Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-15T21:17:45.838Z\"}}], \"cna\": {\"title\": \"rxrpc: Fix call timer start racing with call destruction\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 9.8, \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:N - The vulnerable path is UDP RxRPC packet receive (rxrpc_input_packet \\u2192 rxrpc_input_call_packet \\u2192 rxrpc_reduce_call_timer). AFS opens a listening CM service socket over UDP, and AF_RXRPC processes call-bound packets from remote peers across the network.\\nAC:L - A remote peer controls packet delivery that restarts the call timer and can force call teardown via ABORT/completion while flooding late packets, so the attacker drives both sides of the destruction-vs-timer race rather than relying on an uncontrollable condition.\\nPR:N - Packet processing runs in softirq with only RCU; no local credentials are required. On an AFS/RxRPC endpoint, an unauthenticated or already-peered remote sender can address packets to an in-flight call without privileges on the victim host.\\nUI:N - Once AF_RXRPC/AFS is active, exploitation is driven solely by received UDP packets and concurrent call teardown; no user mount, open, or other interactive action is required.\\nS:U - Impact is confined to the host kernel\\u2019s RxRPC call object lifetime (timer UAF/oops); this is not a VM escape, IOMMU bypass, or other cross-authority boundary.\\nC:H - The race restarts an embedded timer on an rxrpc_call that can then be freed, yielding a use-after-free that can be reused via heap spraying for arbitrary kernel memory disclosure.\\nI:H - The same timer-vs-destruction UAF on the freed rxrpc_call enables heap reuse and control-flow/integrity compromise, not merely a clean failure path.\\nA:H - The commit reports that the timer dispatch path can oops after the call (and its embedded timer) is deallocated; any such UAF also reliably crashes or hangs the kernel.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"a158bdd3247b9656df36ba133235fff702e9fdc3\", \"lessThan\": \"051360e51341cd17738d82c15a8226010c7cb7f6\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a158bdd3247b9656df36ba133235fff702e9fdc3\", \"lessThan\": \"8cbf4ae7a2833767d63114573e5f9a45740cc975\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a158bdd3247b9656df36ba133235fff702e9fdc3\", \"lessThan\": \"54df5a37f1d951ed27fd47bf9b15a42279582110\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a158bdd3247b9656df36ba133235fff702e9fdc3\", \"lessThan\": \"5e3c11144e557a9dbf9a2f6abe444689ef9d8aae\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a158bdd3247b9656df36ba133235fff702e9fdc3\", \"lessThan\": \"4a7f62f91933c8ae5308f9127fd8ea48188b6bc3\", \"versionType\": \"git\"}], \"programFiles\": [\"include/trace/events/rxrpc.h\", \"net/rxrpc/ar-internal.h\", \"net/rxrpc/call_event.c\", \"net/rxrpc/call_object.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.15\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.15\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.110\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.33\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.16.19\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.16.*\"}, {\"status\": \"unaffected\", \"version\": \"5.17.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.17.*\"}, {\"status\": \"unaffected\", \"version\": \"5.18\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"include/trace/events/rxrpc.h\", \"net/rxrpc/ar-internal.h\", \"net/rxrpc/call_event.c\", \"net/rxrpc/call_object.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/051360e51341cd17738d82c15a8226010c7cb7f6\"}, {\"url\": \"https://git.kernel.org/stable/c/8cbf4ae7a2833767d63114573e5f9a45740cc975\"}, {\"url\": \"https://git.kernel.org/stable/c/54df5a37f1d951ed27fd47bf9b15a42279582110\"}, {\"url\": \"https://git.kernel.org/stable/c/5e3c11144e557a9dbf9a2f6abe444689ef9d8aae\"}, {\"url\": \"https://git.kernel.org/stable/c/4a7f62f91933c8ae5308f9127fd8ea48188b6bc3\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nrxrpc: Fix call timer start racing with call destruction\\n\\nThe rxrpc_call struct has a timer used to handle various timed events\\nrelating to a call.  This timer can get started from the packet input\\nroutines that are run in softirq mode with just the RCU read lock held.\\nUnfortunately, because only the RCU read lock is held - and neither ref or\\nother lock is taken - the call can start getting destroyed at the same time\\na packet comes in addressed to that call.  This causes the timer - which\\nwas already stopped - to get restarted.  Later, the timer dispatch code may\\nthen oops if the timer got deallocated first.\\n\\nFix this by trying to take a ref on the rxrpc_call struct and, if\\nsuccessful, passing that ref along to the timer.  If the timer was already\\nrunning, the ref is discarded.\\n\\nThe timer completion routine can then pass the ref along to the call\u0027s work\\nitem when it queues it.  If the timer or work item where already\\nqueued/running, the extra ref is discarded.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.110\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.33\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.16.19\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.17.2\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.18\", \"versionStartIncluding\": \"4.15\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T08:54:04.806Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-49149\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-15T21:21:07.051Z\", \"dateReserved\": \"2025-02-26T01:49:39.274Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-02-26T01:55:16.371Z\", \"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…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…