cxgb4/ch_ktls: disable softirqs around tid_list erases
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2c49ea1dd16d6dc0dd895e6aec57c9a448191cfe, Kernel 5.13, Kernel 0c5063a898813a420e6bad93debd134ef8b3bfd1 and 13 more.
In the Linux kernel, the following vulnerability has been resolved: cxgb4/ch_ktls: disable softirqs around tid_list erases chcr_ktls_cpl_act_open_rpl() inserts into tid_list from the receive path using xa_insert_bh(). The array is shared by the adapter's connections and initialized with XA_FLAGS_LOCK_BH. However, chcr_ktls_dev_del() and the chcr_ktls_dev_add() error path use xa_erase(), which takes the XArray lock without disabling softirqs. When cleanup runs with softirqs enabled, a receive softirq for another connection on the same CPU can interrupt the erase and spin on the lock held by the interrupted task. Use xa_erase_bh() at both sites to match the insertion path.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=b96adbf6601d76ee0bdd9bfa5bcdd0cdd5333d78 <2c49ea1dd16d6dc0dd895e6aec57c9a448191cfe, >=5.12.9 <5.13, >=65e302a9bd57b62872040d57eea1201562a7cbb2 <0c5063a898813a420e6bad93debd134ef8b3bfd1, >=65e302a9bd57b62872040d57eea1201562a7cbb2 <4c9dc0faca98084922caeb689579d338cf3e1c29, >=65e302a9bd57b62872040d57eea1201562a7cbb2 <7110c7f70c59eb7924e79853bcc00e2a026662e6, >=65e302a9bd57b62872040d57eea1201562a7cbb2 <8739f06e3f82cd715f7dd10ab24029ed881efc90, >=65e302a9bd57b62872040d57eea1201562a7cbb2 <bafe51bb145e6ae549ae79dcbc35648292625934, >=65e302a9bd57b62872040d57eea1201562a7cbb2 <bcf97573d44e277b1744d7f1226f665aa0ccc599, >=65e302a9bd57b62872040d57eea1201562a7cbb2 <bea736a2b8c6da5b1078badf1206541b5404250f, =5.13, =70c4ead897211b184f36cbeda213f2a3e8153218, >=5.10.42 <5.10.273 | 2c49ea1dd16d6dc0dd895e6aec57c9a448191cfe, 5.13, 0c5063a898813a420e6bad93debd134ef8b3bfd1, 4c9dc0faca98084922caeb689579d338cf3e1c29, 7110c7f70c59eb7924e79853bcc00e2a026662e6, 8739f06e3f82cd715f7dd10ab24029ed881efc90, bafe51bb145e6ae549ae79dcbc35648292625934, bcf97573d44e277b1744d7f1226f665aa0ccc599, bea736a2b8c6da5b1078badf1206541b5404250f, 5.10.273 |
| linux-kernel: Kernel | >=5.12.9 <5.13, >=5.13.0 <5.15.224, >=5.16.0 <6.1.191, >=6.13.0 <6.18.57, >=6.19.0 <7.2.11, >=6.2.0 <6.6.160, >=6.7.0 <6.12.113, >=5.10.42 <5.10.273 | 5.13, 5.15.224, 6.1.191, 6.18.57, 7.2.11, 6.6.160, 6.12.113, 5.10.273 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket