# CVE-2025-68339: atm/fore200e: Fix possible data race in fore200e_open()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-12-23T13:58:24.955Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## Description

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

atm/fore200e: Fix possible data race in fore200e_open()

Protect access to fore200e->available_cell_rate with rate_mtx lock in the
error handling path of fore200e_open() to prevent a data race.

The field fore200e->available_cell_rate is a shared resource used to track
available bandwidth. It is concurrently accessed by fore200e_open(),
fore200e_close(), and fore200e_change_qos().

In fore200e_open(), the lock rate_mtx is correctly held when subtracting
vcc->qos.txtp.max_pcr from available_cell_rate to reserve bandwidth.
However, if the subsequent call to fore200e_activate_vcin() fails, the
function restores the reserved bandwidth by adding back to
available_cell_rate without holding the lock.

This introduces a race condition because available_cell_rate is a global
device resource shared across all VCCs. If the error path in
fore200e_open() executes concurrently with operations like
fore200e_close() or fore200e_change_qos() on other VCCs, a
read-modify-write race occurs.

Specifically, the error path reads the rate without the lock. If another
CPU acquires the lock and modifies the rate (e.g., releasing bandwidth in
fore200e_close()) between this read and the subsequent write, the error
path will overwrite the concurrent update with a stale value. This results
in incorrect bandwidth accounting.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1b60f42a639999c37da7f1fbfa1ad29cf4cbdd2d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bd1415efbab507b9b995918105eef953013449dd; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ed34c70d88e2b8b9bc6c3ede88751186d6c6d5d1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9917ba597cf95f307778e495f71ff25a5064d167; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 667ac868823224374f819500adc5baa2889c7bc5; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6610361458e7eb6502dd3182f586f91fcc218039; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 82fca3d8a4a34667f01ec2351a607135249c9cff; 2.6.12 (not affected: before 2.6.12; from 5.10.247 up to 5.10.*; from 5.15.197 up to 5.15.*; from 6.1.159 up to 6.1.*; from 6.6.119 up to 6.6.*; from 6.12.61 up to 6.12.*; from 6.17.11 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/1b60f42a639999c37da7f1fbfa1ad29cf4cbdd2d>
- <https://git.kernel.org/stable/c/bd1415efbab507b9b995918105eef953013449dd>
- <https://git.kernel.org/stable/c/ed34c70d88e2b8b9bc6c3ede88751186d6c6d5d1>
- <https://git.kernel.org/stable/c/9917ba597cf95f307778e495f71ff25a5064d167>
- <https://git.kernel.org/stable/c/667ac868823224374f819500adc5baa2889c7bc5>
- <https://git.kernel.org/stable/c/6610361458e7eb6502dd3182f586f91fcc218039>
- <https://git.kernel.org/stable/c/82fca3d8a4a34667f01ec2351a607135249c9cff>

## Sources

- CVE List: [CVE-2025-68339](https://www.cve.org/CVERecord?id=CVE-2025-68339), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-68339](https://nvd.nist.gov/vuln/detail/CVE-2025-68339), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-68339 · Whole record: https://cve.day/CVE-2025-68339.json · Rebuilt by cve.day 2026-11-25T22:59:09.812Z
