OESA-2024-1297

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-1297
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-1297.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2024-1297
Upstream
Published
2024-03-22T11:06:44Z
Modified
2026-08-18T01:18:16Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
kernel security update
Details

The Linux Kernel, the operating system core itself.

Security Fix(es):

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

media: pvrusb2: fix use after free on context disconnection

Upon module load, a kthread is created targeting the pvr2_context_thread_func function, which may call pvr2_context_destroy and thus call kfree() on the context object. However, that might happen before the usb hub_event handler is able to notify the driver. This patch adds a sanity check before the invalid read reported by syzbot, within the context disconnection call stack.(CVE-2023-52445)

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

mtd: Fix gluebi NULL pointer dereference caused by ftl notifier

If both ftl.ko and gluebi.ko are loaded, the notifier of ftl triggers NULL pointer dereference when trying to access ‘gluebi->desc’ in gluebi_read().

ubi_gluebi_init ubi_register_volume_notifier ubi_enumerate_volumes ubi_notify_all gluebi_notify nb->notifier_call() gluebi_create mtd_device_register mtd_device_parse_register add_mtd_device blktrans_notify_add not->add() ftl_add_mtd tr->add_mtd() scan_header mtd_read mtd_read_oob mtd_read_oob_std gluebi_read mtd->read() gluebi->desc - NULL

Detailed reproduction information available at the Link [1],

In the normal case, obtain gluebi->desc in the gluebi_get_device(), and access gluebi->desc in the gluebi_read(). However, gluebi_get_device() is not executed in advance in the ftl_add_mtd() process, which leads to NULL pointer dereference.

The solution for the gluebi module is to run jffs2 on the UBI volume without considering working with ftl or mtdblock [2]. Therefore, this problem can be avoided by preventing gluebi from creating the mtdblock device after creating mtd partition of the type MTD_UBIVOLUME.(CVE-2023-52449)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP4 / kernel

Package

Name
kernel
Purl
pkg:rpm/openEuler/kernel&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.19.90-2403.3.0.0270.oe2003sp4

Ecosystem specific

{
    "aarch64": [
        "bpftool-debuginfo-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "kernel-debuginfo-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "kernel-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "kernel-debugsource-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "kernel-source-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "kernel-tools-devel-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "perf-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "perf-debuginfo-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "python2-perf-debuginfo-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "python3-perf-debuginfo-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "kernel-tools-debuginfo-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "python2-perf-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "python3-perf-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "kernel-devel-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "kernel-tools-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm",
        "bpftool-4.19.90-2403.3.0.0270.oe2003sp4.aarch64.rpm"
    ],
    "src": [
        "kernel-4.19.90-2403.3.0.0270.oe2003sp4.src.rpm"
    ],
    "x86_64": [
        "python2-perf-debuginfo-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "kernel-tools-devel-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "kernel-debuginfo-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "bpftool-debuginfo-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "kernel-tools-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "kernel-devel-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "perf-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "kernel-debugsource-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "perf-debuginfo-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "python2-perf-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "kernel-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "kernel-tools-debuginfo-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "kernel-source-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "python3-perf-debuginfo-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "python3-perf-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm",
        "bpftool-4.19.90-2403.3.0.0270.oe2003sp4.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2024-1297.json"