Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-104231

Error in handling kernel variants naming

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • kernel-6.12.0-123.el10
    • No
    • Moderate
    • 1
    • rhel-kernel-maint
    • 24
    • 25
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • CK Parent Issues In Progress
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None
    • Merge Request passes all submitter checks, Merge Request finished CI testing, Merge Request passed CI testing, Merge Request approved by peer review

      In the RHEL 10 kernel commit [1] introduced an error in handling kernel variants naming. In particular it results in Provides: and Requires: using two consecutive '' characters as separator. E.g., kernel-64k-devel-6.12.0-109.el10.aarch64.rpm lists kernel-devel-uname-r = 6.12.0-109.el10.aarch64+64k as provides.
      Ot at least I assume using '+' as a separator was not intended. In RHEL 9 a single '' is used as the separator.

      Commit [1] seems to be very similar to the original commit to the RHEL 9 kernel [2], however it does not properly introduce the uname_suffix macro. Either the uname_suffix macro shall add the '+' suffix or it is to be added to its arguments, but not both as done in [1].

      Note: The commit later applied to kernel-ark [3] suffers from the same issue.

      [1]: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/commit/08cf449a0c2fffa923a2fc51a937253c6e75719b
      [2]: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/commit/587c135e62d053c1d6c8ac062bb87edc86d12d2c
      [3]: https://gitlab.com/cki-project/kernel-ark/-/commit/bda762df5b4feb65e67a06543ba3dad608ddf29d

              jstancek@redhat.com Jan Stancek
              petergeorg Peter Georg (Inactive)
              Jan Stancek Jan Stancek
              Chao Ye Chao Ye
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: