CVE-2023-52439

Aliases:UBUNTU-CVE-2023-52439DEBIAN-CVE-2023-52439
Advisory lineage Upstream: 0 Downstream: 32
Modified
Published: 20 Feb 2024, 18:34
Last modified:05 Aug 2026, 09:09

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.8 HIGH
v3.1 (nvd)
EPSS Score
0.3% LOW
0% probability +0.29%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

20 Feb 2024, 18:34
Published
Vulnerability first disclosed
05 Aug 2026, 09:09
Last Modified
Vulnerability information updated

Description

In the Linux kernel, the following vulnerability has been resolved: uio: Fix use-after-free in uio_open core-1 core-2 ------------------------------------------------------- uio_unregister_device uio_open idev = idr_find() device_unregister(&idev->dev) put_device(&idev->dev) uio_device_release get_device(&idev->dev) kfree(idev) uio_free_minor(minor) uio_release put_device(&idev->dev) kfree(idev) ------------------------------------------------------- In the core-1 uio_unregister_device(), the device_unregister will kfree idev when the idev->dev kobject ref is 1. But after core-1 device_unregister, put_device and before doing kfree, the core-2 may get_device. Then: 1. After core-1 kfree idev, the core-2 will do use-after-free for idev. 2. When core-2 do uio_release and put_device, the idev will be double freed. To address this issue, we can get idev atomic & inc idev reference with minor_lock.

CVSS Metrics

  • v3.1HIGHScore: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.30% Percentile: 23%

Techniques & Countermeasures

  • CWE-415Double Free

    The product calls free() twice on the same memory address.

Affected Systems

  • debianlinux

    < 5.10.209-1 | < 6.1.76-1 | < 6.6.13-1 | < 6.6.13-1

  • ubuntulinux

    < 4.15.0-225.237 | < 5.4.0-176.196 | < 5.15.0-102.112

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    < 4.15.0-1168.181 | < 5.4.0-1122.132 | < 5.15.0-1057.63

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    < 5.15.0-1057.63~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1122.132~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-fips

    < 4.15.0-2107.113 | < 5.4.0-1122.132+fips1 | all | < 5.15.0-1057.63+fips1

  • ubuntulinux-aws-hwe

    < 4.15.0-1168.181~16.04.1

  • ubuntulinux-azure

    < 4.15.0-1177.192~14.04.1 | < 4.15.0-1177.192~16.04.1 | all | < 5.4.0-1127.134 | < 5.15.0-1060.69

  • ubuntulinux-azure-4.15

    < 4.15.0-1177.192

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1060.69~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1127.134~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | < 5.15.0-1060.69.1 | all

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fde-6.8

    all

  • ubuntulinux-azure-fips

    < 4.15.0-2086.92 | < 5.4.0-1127.134+fips1 | all | < 5.15.0-1060.69+fips1

  • ubuntulinux-bluefield

    all | < 5.4.0-1082.89 | < 5.15.0-1040.42

  • ubuntulinux-fips

    < 4.15.0-1123.134 | all | < 5.4.0-1096.106 | < 5.15.0-102.112+fips1

  • ubuntulinux-gcp

    < 4.15.0-1162.179~16.04.1 | all | < 5.4.0-1126.135 | < 5.15.0-1055.63

  • ubuntulinux-gcp-4.15

    < 4.15.0-1162.179

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.15

    < 5.15.0-1055.63~20.04.1

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1126.135~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-6.2

    all

  • ubuntulinux-gcp-6.5

    all

  • ubuntulinux-gcp-fips

    < 4.15.0-2070.75 | < 5.4.0-1126.135+fips1 | all | < 5.15.0-1055.63+fips2

  • ubuntulinux-gke

    all | < 5.15.0-1054.59

  • ubuntulinux-gke-4.15

    all

  • ubuntulinux-gke-5.15

    all

Showing first 50 affected entries in server-rendered view.

References (27)