# CVE-2023-53463: ibmvnic: Do not reset dql stats on NON_FATAL err

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2025-10-01T11:42:34.308Z
- Modified: 2026-10-15T22:17:39.780Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## Description

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

ibmvnic: Do not reset dql stats on NON_FATAL err

All ibmvnic resets, make a call to netdev_tx_reset_queue() when
re-opening the device. netdev_tx_reset_queue() resets the num_queued
and num_completed byte counters. These stats are used in Byte Queue
Limit (BQL) algorithms. The difference between these two stats tracks
the number of bytes currently sitting on the physical NIC. ibmvnic
increases the number of queued bytes though calls to
netdev_tx_sent_queue() in the drivers xmit function. When, VIOS reports
that it is done transmitting bytes, the ibmvnic device increases the
number of completed bytes through calls to netdev_tx_completed_queue().
It is important to note that the driver batches its transmit calls and
num_queued is increased every time that an skb is added to the next
batch, not necessarily when the batch is sent to VIOS for transmission.

Unlike other reset types, a NON FATAL reset will not flush the sub crq
tx buffers. Therefore, it is possible for the batched skb array to be
partially full. So if there is call to netdev_tx_reset_queue() when
re-opening the device, the value of num_queued (0) would not account
for the skb's that are currently batched. Eventually, when the batch
is sent to VIOS, the call to netdev_tx_completed_queue() would increase
num_completed to a value greater than the num_queued. This causes a
BUG_ON crash:

ibmvnic 30000002: Firmware reports error, cause: adapter problem.
Starting recovery...
ibmvnic 30000002: tx error 600
ibmvnic 30000002: tx error 600
ibmvnic 30000002: tx error 600
ibmvnic 30000002: tx error 600
------------[ cut here ]------------
kernel BUG at lib/dynamic_queue_limits.c:27!
Oops: Exception in kernel mode, sig: 5
[....]
NIP dql_completed+0x28/0x1c0
LR ibmvnic_complete_tx.isra.0+0x23c/0x420 [ibmvnic]
Call Trace:
ibmvnic_complete_tx.isra.0+0x3f8/0x420 [ibmvnic] (unreliable)
ibmvnic_interrupt_tx+0x40/0x70 [ibmvnic]
__handle_irq_event_percpu+0x98/0x270
---[ end trace ]---

Therefore, do not reset the dql stats when performing a NON_FATAL reset.

(As written by CVE List.)

## Affected

- Linux Linux: from 0d973388185d49add56b81ca82fa5e4348019df8 before b8aedf29db1280c83191fc9579ae605791faf97f; from 0d973388185d49add56b81ca82fa5e4348019df8 before f67ef8f9f6776e2b2073cad7c5cf29de850f83d7; from 0d973388185d49add56b81ca82fa5e4348019df8 before 91a0632e73070928aafeb36b3cc676843c716931; from 0d973388185d49add56b81ca82fa5e4348019df8 before 48538ccb825b05544ec308a509e2cc9c013402db; 5.11 (not affected: before 5.11; from 5.15.121 up to 5.15.*; from 6.1.39 up to 6.1.*; from 6.4.4 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 5.11 before 5.15.121; from 5.16 before 6.1.39; from 6.2 before 6.4.4

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/b8aedf29db1280c83191fc9579ae605791faf97f> (patch)
- <https://git.kernel.org/stable/c/f67ef8f9f6776e2b2073cad7c5cf29de850f83d7> (patch)
- <https://git.kernel.org/stable/c/91a0632e73070928aafeb36b3cc676843c716931> (patch)
- <https://git.kernel.org/stable/c/48538ccb825b05544ec308a509e2cc9c013402db> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2023-53463 · Whole record: https://cve.day/CVE-2023-53463.json · Rebuilt by cve.day 2026-11-25T22:58:34.896Z
