Skip to content
Heist/ feed
Back to feed
MediumFix available

nexthop: Fix data-races around nexthop_compat_mode.

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: nexthop: Fix data-races around nexthop_compat_mode. While reading nexthop_compat_mode, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.132, 5.15.56, 5.18.13
CVEs
CVE-2022-49629
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:55 UTC · Revision 1

Source evidence

nexthop: Fix data-races around nexthop_compat_mode.

core-osv · Original source

Published 26 Feb 2025, 02:23 UTC

In the Linux kernel, the following vulnerability has been resolved: nexthop: Fix data-races around nexthop_compat_mode. While reading nexthop_compat_mode, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers.

osv:CVE-2022-49629

Kernel

Fixed versions: 5.10.132, 5.15.56, 5.18.13

Complete source record
{
  "id": "5f31b0b45b2ecd5466cf19388e26b37fa9e6daa47a41828a2d6f35371f95a2c8",
  "url": "https://osv.dev/vulnerability/CVE-2022-49629",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "nexthop: Fix data-races around nexthop_compat_mode.",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: nexthop: Fix data-races around nexthop_compat_mode. While reading nexthop_compat_mode, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers.",
    "evidence": "osv:CVE-2022-49629",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.132",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.56",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.18.13",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-49629",
      "aliases": [
        "CVE-2022-49629"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4f80116d3df3b23ee4b83ea8557629e1799bc230"
                },
                {
                  "fixed": "a51040d4b120f3520df64fb0b9c63b31d69bea9b"
                },
                {
                  "fixed": "0d17723afea3ae8c9f245c9bbd2ba5945b77e812"
                },
                {
                  "fixed": "ae3054f6fbccc90f14ecd6cf9b2c09a2401c64fd"
                },
                {
                  "fixed": "bdf00bf24bef9be1ca641a6390fd5487873e0d2e"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49629.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.8.0"
                },
                {
                  "fixed": "5.10.132"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.56"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.18.13"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49629.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.748189157Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0d17723afea3ae8c9f245c9bbd2ba5945b77e812",
        "https://git.kernel.org/stable/c/a51040d4b120f3520df64fb0b9c63b31d69bea9b",
        "https://git.kernel.org/stable/c/ae3054f6fbccc90f14ecd6cf9b2c09a2401c64fd",
        "https://git.kernel.org/stable/c/bdf00bf24bef9be1ca641a6390fd5487873e0d2e",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49629.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49629",
        "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-49629.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49629",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521545,
  "published_at": "2025-02-26T02:23:42.768+00:00"
}