I think you are going to find this instead:
Code:
mafoelffen@Mikes-ThinkPad-T520:~$ apt list linux-hwe* --installed
Listing... Done
linux-hwe-5.13-headers-5.13.0-25/now 5.13.0-25.26~20.04.1 all [installed,local]
linux-hwe-5.19-headers-5.19.0-46/jammy-updates,jammy-updates,jammy-security,jammy-security,now 5.19.0-46.47~22.04.1 all [installed,automatic]
linux-hwe-6.2-headers-6.2.0-32/jammy-updates,jammy-updates,jammy-security,jammy-security,now 6.2.0-32.32~22.04.1 all [installed,automatic]
linux-hwe-6.2-headers-6.2.0-33/jammy-updates,jammy-updates,jammy-security,jammy-security,now 6.2.0-33.33~22.04.1 all [installed,automatic]
mafoelffen@Mikes-ThinkPad-T520:~$ apt list linux-image-generic* --installed
Listing... Done
linux-image-generic-hwe-22.04/jammy-updates,jammy-security,now 6.2.0.33.33~22.04.10 amd64 [installed,automatic]
linux-image-generic/jammy-updates,jammy-security,now 5.15.0.84.81 amd64 [installed,automatic]
mafoelffen@Mikes-ThinkPad-T520:~$ apt list linux-image-*-generic --installed
Listing... Done
linux-image-5.15.0-84-generic/jammy-updates,jammy-security,now 5.15.0-84.93 amd64 [installed,automatic]
linux-image-6.2.0-32-generic/jammy-updates,jammy-security,now 6.2.0-32.32~22.04.1 amd64 [installed,automatic]
linux-image-6.2.0-33-generic/jammy-updates,jammy-security,now 6.2.0-33.33~22.04.1 amd64 [installed,automatic]
As you can see on mine, there is no 5-19.0 active kernel, but the header file for it is still there (for some unknown reason).
Code:
mafoelffen@Mikes-ThinkPad-T520:~$ pro fix CVE-2022-40982
CVE-2022-40982: Linux kernel (BlueField) vulnerabilities
- https://ubuntu.com/security/CVE-2022-40982
5 affected source packages are installed: intel-microcode, linux, linux-
hwe-5.13, linux-hwe-5.19, linux-hwe-6.2
(1/5) linux-hwe-5.13:
Source package does not exist on this release.
(2/5) linux-hwe-5.19:
Sorry, no fix is available.
(3/5, 4/5, 5/5) intel-microcode, linux, linux-hwe-6.2:
A fix is available in Ubuntu standard updates.
The update is already installed.
2 packages are still affected: linux-hwe-5.13, linux-hwe-5.19
✘ CVE-2022-40982 is not resolved.
Same result (so far)
Note: I had to remove / purge both packages linux-hwe-5.19-headers-5.19.0-46 & linux-hwe-5.13-headers-5.13.0-25. When I removed just the first, then it said it wasn't resolved because the second was present, so...
Code:
sudo apt remove --purge linux-hwe-5.19-headers-5.19.0-46 linux-hwe-5.13-headers-5.13.0-25
Then
Code:
mafoelffen@Mikes-ThinkPad-T520:~$ pro fix CVE-2022-40982
CVE-2022-40982: Linux kernel (BlueField) vulnerabilities
- https://ubuntu.com/security/CVE-2022-40982
3 affected source packages are installed: intel-microcode, linux, linux-hwe-6.2
(1/3, 2/3, 3/3) intel-microcode, linux, linux-hwe-6.2:
A fix is available in Ubuntu standard updates.
The update is already installed.
✔ CVE-2022-40982 is resolved.
It was not really a problem, because of those header files, neither had an active kernel installed... But removing them both satisfied the CVE fix 'test'.