---
id: CVE-2024-26734
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  devlink: fix possible use-after-free and memory leaks in devlink_init()

  The pernet operations structure for the subsystem must be registered
  before registering the gen…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  devlink: fix possible use-after-free and memory leaks in devlink_init()

  The pernet operations structure for the subsystem must be registered
  before registering the gen…
severity: high
cvss: 7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-401
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.3, < 6.6.19'
  - 'linux_kernel >= 6.7, < 6.7.7'
  - linux_kernel = 6.8
patched:
  - linux_kernel 6.7.7
published: '2024-04-03'
updated: '2026-08-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-26734'
references:
  - url: 'https://git.kernel.org/stable/c/919092bd5482b7070ae66d1daef73b600738f3a2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/def689fc26b9a9622d2e2cb0c4933dd3b1c8071c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e91d3561e28d7665f4f837880501dc8755f635a9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/919092bd5482b7070ae66d1daef73b600738f3a2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/def689fc26b9a9622d2e2cb0c4933dd3b1c8071c'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/e91d3561e28d7665f4f837880501dc8755f635a9'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00237
epssPercentile: 0.13082
ingestedAt: '2026-08-05T10:46:48.298Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

devlink: fix possible use-after-free and memory leaks in devlink_init()

The pernet operations structure for the subsystem must be registered
before registering the generic netlink family.

Make an unregister in case of unsuccessful registration.

## Affected

- `linux_kernel >= 6.3, < 6.6.19`
- `linux_kernel >= 6.7, < 6.7.7`
- `linux_kernel = 6.8`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.7.7`
