Skip to content
Heist/ feed
Back to feed
CriticalFix available

rxrpc: Fix call timer start racing with call destruction

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.110, 5.15.33, 5.16.19, 5.17.2
CVEs
CVE-2022-49149
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 18:24 UTC · Revision 1

Source evidence

rxrpc: Fix call timer start racing with call destruction

core-osv · Original source

Published 26 Feb 2025, 01:55 UTC

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.

osv:CVE-2022-49149

Kernel

Fixed versions: 5.10.110, 5.15.33, 5.16.19, 5.17.2

Complete source record
{
  "id": "456b77c9ad5aa04545bc3a3ad78086fec7797c8710b675f95c7c47b0f4151d78",
  "url": "https://osv.dev/vulnerability/CVE-2022-49149",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "rxrpc: Fix call timer start racing with call destruction",
    "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.",
    "evidence": "osv:CVE-2022-49149",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.33",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.16.19",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.17.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2022-49149",
      "aliases": [
        "CVE-2022-49149"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a158bdd3247b9656df36ba133235fff702e9fdc3"
                },
                {
                  "fixed": "051360e51341cd17738d82c15a8226010c7cb7f6"
                },
                {
                  "fixed": "8cbf4ae7a2833767d63114573e5f9a45740cc975"
                },
                {
                  "fixed": "54df5a37f1d951ed27fd47bf9b15a42279582110"
                },
                {
                  "fixed": "5e3c11144e557a9dbf9a2f6abe444689ef9d8aae"
                },
                {
                  "fixed": "4a7f62f91933c8ae5308f9127fd8ea48188b6bc3"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49149.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "5.10.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.33"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.16.19"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.17.0"
                },
                {
                  "fixed": "5.17.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49149.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.674918402Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/051360e51341cd17738d82c15a8226010c7cb7f6",
        "https://git.kernel.org/stable/c/4a7f62f91933c8ae5308f9127fd8ea48188b6bc3",
        "https://git.kernel.org/stable/c/54df5a37f1d951ed27fd47bf9b15a42279582110",
        "https://git.kernel.org/stable/c/5e3c11144e557a9dbf9a2f6abe444689ef9d8aae",
        "https://git.kernel.org/stable/c/8cbf4ae7a2833767d63114573e5f9a45740cc975",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49149.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49149",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49149.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49149",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 520086,
  "published_at": "2025-02-26T01:55:16.371+00:00"
}