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

  staging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc

  The return value of kzalloc_flex() is used without
  ensuring that the allocation succeeded,…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  staging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc

  The return value of kzalloc_flex() is used without
  ensuring that the allocation succeeded,…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 7.0, < 7.0.7'
  - linux_kernel = 7.1
patched:
  - linux_kernel 7.0.7
published: '2026-06-08'
updated: '2026-09-14'
sourceUpdated: '2026-09-14T12:17:42.407'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-46305'
references:
  - url: 'https://git.kernel.org/stable/c/0a5f411becfb7c57aa89827213d31ef23a03d75a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7d4024037ee309a8f0cb86b4093d59da0e135db8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bc851db06045a40c18233dd76ef0562d7f8bb6db'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.0016
epssPercentile: 0.04386
ingestedAt: '2026-07-08T12:51:00.699Z'
---

## Overview

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

staging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc

The return value of kzalloc_flex() is used without
ensuring that the allocation succeeded, and the
pointer is dereferenced unconditionally.

Guard the access to the allocated structure to
avoid a potential NULL pointer dereference if the
allocation fails.

## Affected

- `linux_kernel >= 7.0, < 7.0.7`
- `linux_kernel = 7.1`

## Remediation

Upgrade past the affected range:

- `linux_kernel 7.0.7`
