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

  ksmbd: Compare MACs in constant time

  To prevent timing attacks, MAC comparisons need to be constant-time.
  Replace the memcmp() with the correct function, crypto_memneq().
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  ksmbd: Compare MACs in constant time

  To prevent timing attacks, MAC comparisons need to be constant-time.
  Replace the memcmp() with the correct function, crypto_memneq().
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.15.1, < 6.1.167'
  - 'linux_kernel >= 6.2, < 6.6.130'
  - 'linux_kernel >= 6.7, < 6.12.78'
  - 'linux_kernel >= 6.13, < 6.18.19'
  - 'linux_kernel >= 6.19, < 6.19.7'
  - linux_kernel = 5.15
  - linux_kernel = 7.0
patched:
  - linux_kernel 6.19.7
published: '2026-03-25'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:18:52.090'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-23364'
references:
  - url: 'https://git.kernel.org/stable/c/2cdc56ed67615ba0921383a688f24415ebe065f3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/307afccb751f542246bd5dc68a2c1ffe1a78418c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8a665d733940592e671ec6afadcd0be80a091a80'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/93c0a22fec914ec4b697e464895a0f594e29fb28'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c5794709bc9105935dbedef8b9cf9c06f2b559fa'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cd52a0e309659537048a864211abc3ea4c5caa63'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f4588b85efd6007d46b80aa1b9fb746628ffb3dc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-784472.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00392
epssPercentile: 0.31569
ingestedAt: '2026-10-15T03:30:12.845Z'
---

## Overview

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

ksmbd: Compare MACs in constant time

To prevent timing attacks, MAC comparisons need to be constant-time.
Replace the memcmp() with the correct function, crypto_memneq().

## Affected

- `linux_kernel >= 5.15.1, < 6.1.167`
- `linux_kernel >= 6.2, < 6.6.130`
- `linux_kernel >= 6.7, < 6.12.78`
- `linux_kernel >= 6.13, < 6.18.19`
- `linux_kernel >= 6.19, < 6.19.7`
- `linux_kernel = 5.15`
- `linux_kernel = 7.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.19.7`
