Use After Free Affecting kernel-rt package, versions <0:4.18.0-477.10.1.rt7.274.el8_8


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX8-KERNELRT-5629722
  • published28 May 2023
  • disclosed9 May 2023

Introduced: 9 May 2023

CVE-2023-1195  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 kernel-rt to version 0:4.18.0-477.10.1.rt7.274.el8_8 or higher.
This issue was patched in ALSA-2023:2736.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-rt package and not the kernel-rt package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

A use-after-free flaw was found in reconn_set_ipaddr_from_hostname in fs/cifs/connect.c in the Linux kernel. The issue occurs when it forgets to set the free pointer server->hostname to NULL, leading to an invalid pointer request.

CVSS Scores

version 3.1