HomeDefectsLIN1023-8884
Fixed

LIN1023-8884 : Security Advisory - linux - CVE-2024-49994

Created: Oct 22, 2024    Updated: Apr 7, 2025
Resolved Date: Mar 24, 2025
Found In Version: 10.23.30.1
Fix Version: 10.23.30.16
Severity: Standard
Applicable for: Wind River Linux LTS 23
Component/s: Kernel

Description

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

block: fix integer overflow in BLKSECDISCARD

I independently rediscovered

        commit 22d24a544b0d49bbcbd61c8c0eaf77d3c9297155
        block: fix overflow in blk_ioctl_discard()

but for secure erase.

Same problem:

        uint64_t r2] = {512, 18446744073709551104ULL};
        ioctl(fd, BLKSECDISCARD, r);

will enter near infinite loop inside blkdev_issue_secure_erase():

        a.out: attempt to access beyond end of device
        loop0: rw=5, sector=3399043073, nr_sectors = 1024 limit=2048
        bio_check_eod: 3286214 callbacks suppressed


CREATE(Triage):(User=admin) [CVE-2024-49994 (https://nvd.nist.gov/vuln/detail/CVE-2024-49994)

CVEs