OESA-2025-2314

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2025-2314
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2025-2314.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2025-2314
Upstream
Published
2025-09-19T13:13:25Z
Modified
2025-09-19T15:31:57.904018Z
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: dvb-frontends: w7090p: fix null-ptr-deref in w7090ptunerwriteserpar and w7090ptunerreadserpar

In w7090ptunerwrite_serpar, msg is controlled by user. When msg[0].buf is null and msg[0].len is zero, former checks on msg[0].buf would be passed. If accessing msg[0].buf[2] without sanity check, null pointer deref would happen. We add check on msg[0].len to prevent crash.

Similar commit: commit 0ed554fd769a ("media: dvb-usb: az6027: fix null-ptr-deref in az6027i2cxfer()")(CVE-2025-38693)

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

gfs2: Validate i_depth for exhash directories

A fuzzer test introduced corruption that ends up with a depth of 0 in direread(), causing an undefined shift by 32 at:

index = hash >> (32 - dip->i_depth);

As calculated in an open-coded way in dirmakeexhash(), the minimum depth for an exhash directory is ilog2(sdp->sdhashptrs) and 0 is invalid as sdp->sdhashptrs is fixed as sdp->bsize / 16 at mount time.

So we can avoid the undefined behaviour by checking for depth values lower than the minimum in gfs2dinodein(). Values greater than the maximum are already being checked for there.

Also switch the calculation in dirmakeexhash() to use ilog2() to clarify how the depth is calculated.

Tested with the syzkaller repro.c and xfstests '-g quick'.(CVE-2025-38710)

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

Affected packages

openEuler:22.03-LTS-SP4 / kernel

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.0-282.0.0.185.oe2203sp4

Ecosystem specific

{
    "aarch64": [
        "bpftool-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "bpftool-debuginfo-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "kernel-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "kernel-debuginfo-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "kernel-debugsource-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "kernel-devel-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "kernel-headers-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "kernel-source-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "kernel-tools-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "kernel-tools-debuginfo-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "kernel-tools-devel-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "perf-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "perf-debuginfo-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "python3-perf-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm",
        "python3-perf-debuginfo-5.10.0-282.0.0.185.oe2203sp4.aarch64.rpm"
    ],
    "x86_64": [
        "bpftool-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "bpftool-debuginfo-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "kernel-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "kernel-debuginfo-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "kernel-debugsource-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "kernel-devel-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "kernel-headers-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "kernel-source-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "kernel-tools-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "kernel-tools-debuginfo-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "kernel-tools-devel-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "perf-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "perf-debuginfo-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "python3-perf-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm",
        "python3-perf-debuginfo-5.10.0-282.0.0.185.oe2203sp4.x86_64.rpm"
    ],
    "src": [
        "kernel-5.10.0-282.0.0.185.oe2203sp4.src.rpm"
    ]
}