Public bug reported:

# Title
`pro fix` falsely reports "The update is already installed. ✔ CVE-... is 
resolved." on fips-updates when a kernel fix requires an ABI bump

# Description

On Ubuntu 24.04 (noble) hosts with fips-updates enabled, pro fix <CVE>
falsely reports that a kernel CVE is already resolved ("The update is
already installed. ✔ CVE-2026-98432 is resolved.") even when a
vulnerable kernel ABI (6.8.0-1067.70+fips1) is installed and the patched
ABI (6.8.0-1069.74+fips1) is available in fips-updates

# Steps to Reproduce

We will use CVE-2026-98432 as an example here.

1. On an ubuntu noble VM, attach pro subscription and enable fips-updates
   ```
   sudo pro enable fips-updates --assume-yes
   ```

2. Install `linux-aws-fips` that is currently available in the fips-updates 
pocket and simulate an older installed ABI in `/var/lib/dpkg/status`
   ```
   sudo apt purge -y 'linux-*fips*'
   sudo apt install -y linux-aws-fips
   sudo cp /var/lib/dpkg/status /var/lib/dpkg/status.bak
   sudo sed -i 's/6\.8\.0-1069\.74+fips1/6.8.0-1067.70+fips1/g; 
s/6\.8\.0-1069/6.8.0-1067/g' /var/lib/dpkg/status
   ```

3. Verify apt policy shows older (vulnerable) version installed and newer 
(patched) as candidate
   ```
   apt policy linux-aws-fips linux-image-6.8.0-1067-aws-fips
   ```

4. Run pro fix on that CVE
   ```
   sudo pro fix CVE-2026-98432 --dry-run
   ```
The output will be:

```
root@pro-bug-rep:/tmp/1067# apt policy linux-aws-fips
linux-aws-fips:
  Installed: 6.8.0-1067.70+fips1
  Candidate: 6.8.0-1069.74+fips1
  Version table:
     6.8.0-1069.74+fips1 1001
       1001 https://esm.ubuntu.com/fips-updates/ubuntu noble-updates/main amd64 
Packages
 *** 6.8.0-1067.70+fips1 100
        100 /var/lib/dpkg/status
root@pro-bug-rep:/tmp/1067# apt policy linux-image-6.8.0-1067-aws-fips
linux-image-6.8.0-1067-aws-fips:
  Installed: 6.8.0-1067.70+fips1
  Candidate: 6.8.0-1067.70+fips1
  Version table:
     6.8.0-1067.70+fips1 1001
       1001 https://esm.ubuntu.com/fips-updates/ubuntu noble-updates/main amd64 
Packages
 *** 6.8.0-1067.70+fips1 100
        100 /var/lib/dpkg/status
root@pro-bug-rep:/tmp/1067# pro fix CVE-2026-98432 --dry-run
WARNING: The option --dry-run is being used.
No packages will be installed when running this command.
CVE-2026-98432: Linux kernel vulnerabilities
 - https://ubuntu.com/security/CVE-2026-98432

2 affected source packages are installed: linux, linux-aws-fips
(1/2, 2/2) linux, linux-aws-fips:
A fix is available in Ubuntu standard updates.
{
  apt update && apt install --only-upgrade -y linux-libc-dev linux-tools- \
  common
}

✔ CVE-2026-98432 is resolved.
```

------
Environment:

    Release: Ubuntu 24.04 LTS (noble)

    Package: ubuntu-pro-client (38ubuntu0~24.04)

    Service enabled: fips-updates

    Installed kernel: linux-aws-fips 6.8.0-1067.70+fips1

    Available patched kernel: linux-aws-fips 6.8.0-1069.74+fips1 (fips-
updates)

---

I think pro fix should handle ABI-bumped kernel packages by resolving
the upgrade candidate through the corresponding kernel metapackage
(linux-meta-aws-fips, e.g., linux-aws-fips / linux-image-aws-fips) and
comparing the installed version against the CVE's fixed version, rather
than assuming Candidate == Installed on the ABI-locked binary package
means the CVE is resolved.

** Affects: ubuntu-advantage-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174423

Title:
  pro fix falsely reports "The update is already installed. ✔ CVE-... is
  resolved." on fips-updates when a kernel fix requires an ABI bump

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2174423/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to