CVE-2023-0458
Linux Kernel vulnerability analysis and mitigation

Overview

A speculative pointer dereference vulnerability (CVE-2023-0458) was discovered in the Linux Kernel's do_prlimit() function. The vulnerability was discovered by Jordy Zomer and Alexandra Sandulescu and disclosed in April 2023. The issue affects Linux Kernel versions prior to 6.1.8, where the resource argument value is controlled and used in pointer arithmetic for the 'rlim' variable (Ubuntu Security, NVD).

Technical details

The vulnerability exists in the doprlimit() function where the resource argument value is used in pointer arithmetic without proper speculative execution barriers. The fix involves adding arrayindex_nospec() to prevent speculative execution attacks. The vulnerability has a CVSS 3 Severity Score of 4.7 (Medium) (Ubuntu Security, Kernel Commit).

Impact

The vulnerability can be exploited by a local attacker to leak sensitive information from kernel memory through speculative execution side-channel attacks. This could potentially expose sensitive system information to unauthorized users (Debian LTS).

Mitigation and workarounds

The vulnerability was fixed in Linux kernel version 6.1.8 with commit 739790605705ddcf18f21782b9c99ad7d53a8c11. The fix implements proper speculative execution barriers by adding arrayindexnospec() to the do_prlimit() function. Users are recommended to upgrade their Linux kernel to version 6.1.8 or later (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40258HIGH7
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoNoDec 04, 2025
CVE-2025-40259MEDIUM6.2
  • Linux KernelLinux Kernel
  • kernel-rt-64k
NoNoDec 04, 2025
CVE-2025-40264MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-modules-extra
NoNoDec 04, 2025
CVE-2025-40254MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-devel-matched
NoNoDec 04, 2025
CVE-2025-40253MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-partner
NoNoDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management