A thread on CVE-2025-30156

Hello! I hope this post finds everyone well! I’m opening this topic to discuss the above CVE as I didn’t spot one for it. CVE-2025-30156 - Red Hat Customer Portal

Allthough the CVE only mentions Ceph packages i.e: auth/crypto: add support for aes256-hmac384-192 · ceph/ceph@2a86ab2 · GitHub for the cluster, it also requires an update of ceph-fuse packages, and more importantly, kernel release if using the ceph kernel client to mount cephfs for example.

As I understand, the commit to fix this libceph: add support for CEPH_CRYPTO_AES256KRB5 · torvalds/linux@b7cc142 · GitHub is in upstream linux, and kernel-ml (which is on V7.X currently) but this would require a backport to 5.X in baseos / the rocky kernel.

Are there any plans to backport this fix from 7.X to rocky9 and other release streams? is anyone else affected?

Apologies for the # in my links, I do not have enough rep to post links I guess…

Thanks!

As Rocky is based on RHEL then if it is backported, it would be done by RHEL, and then Rocky would have it.

That said, Rocky doesn’t have Ceph packages like Red Hat does anyway. That comes from RH’s Ceph Storage subscription, and those do not exist in Rocky.

Also, elrepo has a kernel-lt and kernel-ml which could be used anyway since I believe the kernel-ml package they have would be 7.x anyway.

As for the official kernels in Rocky, as mentioned, RHEL would have to backport it first before Rocky would have it.

Fixed the links.

Hi Iwalker, thank you for fixing my links!

Understood, its true rocky doesn’t have a repo like RHELs RH-Ceph-Storage and CentosStreams Storage SIG, however there are packages available for ceph-fuse from upstream ceph at “download . ceph . com” so I think that is sufficient.

correct, I can confirm that kernel-ml is 7.X and does indeed have the required commit, so that path works, for me atleast though, I would prefer not to migrate to elrepo if possible.

understood, thank you for clarifying, I was under the impression that backports (or atleast some) were handled directly by the rocky maintainers. thanks for explaining this to me.

looks to be the solution is to sit tight for a RHEL backport then!

Rocky aims to be like for like with RHEL, therefore it relies on what RHEL has. There are instances where critical CVE’s needed fixing recently whereby we took an existing kernel and patched it. Those were all the LPE (local privilege escalation) that occurred recently, and those were available in the Rocky security repository until the official kernels were made available to stay in alignment with RHEL.

Red Hat has Ceph as a paid offering, so obviously they will fix that. If that means the kernel also needs to be patched, then obviously they will do that. Since that kernel is part of the main distribution, then obviously Rocky will also have that later.

Rocky fixes CVE’s that affect Rocky, not products outside of it’s ecosystem. As Rocky doesn’t include Ceph, then it means there is no CVE for Rocky to fix. The CVE issue would only affect Rocky if someone is using Ceph. In that instance it’s a special case situation for a certain usage case. But that could happen by using any other third-party products on a system - it doesn’t mean that Rocky is responsible for any of them. Could you imagine the huge amount of work required to backport for every single situation? It could be a huge amount of work.

The real question is though, since the fix was made in a 7.x kernel, are previous kernels actually vulnerable? The link you posted from RHEL seems to only suggest that RHEL10 has an affected kernel. It says RHEL9 isn’t affected, which would then mean Rocky 9 isn’t either and therefore nothing to fix or patch except Rocky 10 kernel.

Completely reasonable, and makes sense, apologies if I came across as demanding, just trying to understand exactly what the process to fix this will be. Thank you also for taking the time to explain.

So, Kernels are not “vulnerable” in the sense that a host running them can be exploited due to this CVE, to explain, the problem is rather that Ceph uses its own form of keys, so called “cephX” keys for authentication between cluster and clients.

The CVE allows for the arbitrary clientside manipulation of a client CephX key to have more permissions then it should, and thus potentially modify the Ceph cluster or other clients illegitimately, therefore the fix mandates that kernel and fuse clients must switch from a older CephX scheme (aes-128K) with a flawed implementation, to a new one (aes-256KRB5) shown in the kernel client commit I linked.

Thus, the problem is that if a ceph cluster “disallows” the old key type to protect itself and other clients, older kernel clients (4.X, 5.X, 6.X) without the commit and fuse clients that do not support the new key type, will be cut off.

happy to answer any other questions if you are curious!

Going by the information that Red Hat has so far published on the link you gave, it would suggest that RHEL9 (and thus Rocky9) is not vulnerable. That all depends on how complete and correct the info is on the page from Red Hat. I can only speculate based on that.

I think there is pagination for their vulnerabilities section, i.e:

Good point, didn’t see that :smiley:

Well, so RHEL9 is affected, so we just have to wait basically.