Hi,
I think this patch is not applicable for 5.15 and 5.10. Could you give me any opinions?
Any helps from maintainers are very appreciated.
Thanks,
Cliff
On 2025/4/8 15:45, Cliff Liu wrote:
Hi Chenghai,
I am trying to back-port commit 8be091338971 ("crypto: hisilicon/debugfs - Fix debugfs uninit process issue") to 5.15.y and 5.10.y. After reviewed the patch and code context, I found there is no "drivers/crypto/hisilicon/debugfs.c" on both 5.15 and 5.10. So I think the fix is not suitable for 5.15 and 5.10.
What do you think? Your opinion is very important to me.
Thanks,
Cliff
On Thu, Apr 17, 2025 at 02:51:05PM +0800, Cliff Liu wrote:
Hi,
I think this patch is not applicable for 5.15 and 5.10.
Then why are you trying to apply it there? Do you have the bug that is being reported here on those kernel versions? If not, why is this an issue? If so, find the files that are affected in those releases and apply the change there.
Could you give me any opinions?
It is your responsibility, if you want to backport changes to older versions, to do the work. It is NOT the original developer's responsibility at all. The first rule of the stable kernels is "this will cause NO extra work for kernel developers" so if they don't want to do this, they do not have to at all.
Any helps from maintainers are very appreciated.
But not required or even expected. Please work with your management to understand exactly how the community works here.
thanks,
greg k-h
Hi Greg KH,
On 2025/4/17 15:13, Greg KH wrote:
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe.
On Thu, Apr 17, 2025 at 02:51:05PM +0800, Cliff Liu wrote:
Hi,
I think this patch is not applicable for 5.15 and 5.10.
Then why are you trying to apply it there? Do you have the bug that is being reported here on those kernel versions? If not, why is this an issue? If so, find the files that are affected in those releases and apply the change there.
It is reported by NVD that it is CVE-2024-42147 vulnerable and this patch fix it in v6.10.
So I want to back-port the patch to 5.15 and 5.10. I didn't make it clear. So sorry for that.
I just want to get more help or information to confirm if it is applicable to 5.15 and 5.10.
Thanks,
Cliff
Could you give me any opinions?
It is your responsibility, if you want to backport changes to older versions, to do the work. It is NOT the original developer's responsibility at all. The first rule of the stable kernels is "this will cause NO extra work for kernel developers" so if they don't want to do this, they do not have to at all.
Any helps from maintainers are very appreciated.
But not required or even expected. Please work with your management to understand exactly how the community works here.
thanks,
greg k-h
On Thu, Apr 17, 2025 at 03:32:07PM +0800, Cliff Liu wrote:
Hi Greg KH,
On 2025/4/17 15:13, Greg KH wrote:
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe.
On Thu, Apr 17, 2025 at 02:51:05PM +0800, Cliff Liu wrote:
Hi,
I think this patch is not applicable for 5.15 and 5.10.
Then why are you trying to apply it there? Do you have the bug that is being reported here on those kernel versions? If not, why is this an issue? If so, find the files that are affected in those releases and apply the change there.
It is reported by NVD that it is CVE-2024-42147 vulnerable and this patch fix it in v6.10.
So I want to back-port the patch to 5.15 and 5.10. I didn't make it clear. So sorry for that.
I just want to get more help or information to confirm if it is applicable to 5.15 and 5.10.
Do the research to see if this is even applicable to those older kernels first. Many times the ranges are wrong, or missing, because the commit that fixed the issue did not have that information.
CVE fix ranges are a "best effort" so they will be wrong at times. It's up to you to do the work to validate the range if you care about that specific commit. If it is wrong, submit a patch to the vulns.git repo to update the range information, like many people have been doing over the past year, to fix these ranges where they were wrong.
Also, don't use NVD, use the raw CVE records. NVD has a "value add" that everyone has realized does not really mean anything. We have no control over what they do, please use the real CVE record instead.
thanks,
greg k-h
On 2025/4/17 15:41, Greg KH wrote:
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe.
On Thu, Apr 17, 2025 at 03:32:07PM +0800, Cliff Liu wrote:
Hi Greg KH,
On 2025/4/17 15:13, Greg KH wrote:
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe.
On Thu, Apr 17, 2025 at 02:51:05PM +0800, Cliff Liu wrote:
Hi,
I think this patch is not applicable for 5.15 and 5.10.
Then why are you trying to apply it there? Do you have the bug that is being reported here on those kernel versions? If not, why is this an issue? If so, find the files that are affected in those releases and apply the change there.
It is reported by NVD that it is CVE-2024-42147 vulnerable and this patch fix it in v6.10.
So I want to back-port the patch to 5.15 and 5.10. I didn't make it clear. So sorry for that.
I just want to get more help or information to confirm if it is applicable to 5.15 and 5.10.
Do the research to see if this is even applicable to those older kernels first. Many times the ranges are wrong, or missing, because the commit that fixed the issue did not have that information.
CVE fix ranges are a "best effort" so they will be wrong at times. It's up to you to do the work to validate the range if you care about that specific commit. If it is wrong, submit a patch to the vulns.git repo to update the range information, like many people have been doing over the past year, to fix these ranges where they were wrong.
Also, don't use NVD, use the raw CVE records. NVD has a "value add" that everyone has realized does not really mean anything. We have no control over what they do, please use the real CVE record instead.
Got it. It is really very useful to me.
Thank you so much!
Cliff
thanks,
greg k-h
Hello,
I'm not sure if the 5.10 branch has this problem, I remember the debugfs function was not implemented in 5.10.
I will take a check tomorrow.
Thanks,
ChengHai
在 2025/4/17 14:51, Cliff Liu 写道:
Hi,
I think this patch is not applicable for 5.15 and 5.10. Could you give me any opinions?
Any helps from maintainers are very appreciated.
Thanks,
Cliff
On 2025/4/8 15:45, Cliff Liu wrote:
Hi Chenghai,
I am trying to back-port commit 8be091338971 ("crypto: hisilicon/debugfs - Fix debugfs uninit process issue") to 5.15.y and 5.10.y. After reviewed the patch and code context, I found there is no "drivers/crypto/hisilicon/debugfs.c" on both 5.15 and 5.10. So I think the fix is not suitable for 5.15 and 5.10.
What do you think? Your opinion is very important to me.
Thanks,
Cliff
Hello,
Sorry to reply late, I checked, 5.10 and 5.15 do not have the diff regs function.
So there's no need to fix this in 5.10 and 5.15.
Thank you for your attention.
Thanks,
ChengHai
在 2025/4/17 14:51, Cliff Liu 写道:
Hi,
I think this patch is not applicable for 5.15 and 5.10. Could you give me any opinions?
Any helps from maintainers are very appreciated.
Thanks,
Cliff
On 2025/4/8 15:45, Cliff Liu wrote:
Hi Chenghai,
I am trying to back-port commit 8be091338971 ("crypto: hisilicon/debugfs - Fix debugfs uninit process issue") to 5.15.y and 5.10.y. After reviewed the patch and code context, I found there is no "drivers/crypto/hisilicon/debugfs.c" on both 5.15 and 5.10. So I think the fix is not suitable for 5.15 and 5.10.
What do you think? Your opinion is very important to me.
Thanks,
Cliff
That's great.
And thank you so much for your opinion and effort!
Cliff
On 2025/4/18 14:35, huangchenghai wrote:
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hello,
Sorry to reply late, I checked, 5.10 and 5.15 do not have the diff regs function.
So there's no need to fix this in 5.10 and 5.15.
Thank you for your attention.
Thanks,
ChengHai
在 2025/4/17 14:51, Cliff Liu 写道:
Hi,
I think this patch is not applicable for 5.15 and 5.10. Could you give me any opinions?
Any helps from maintainers are very appreciated.
Thanks,
Cliff
On 2025/4/8 15:45, Cliff Liu wrote:
Hi Chenghai,
I am trying to back-port commit 8be091338971 ("crypto: hisilicon/debugfs - Fix debugfs uninit process issue") to 5.15.y and 5.10.y. After reviewed the patch and code context, I found there is no "drivers/crypto/hisilicon/debugfs.c" on both 5.15 and 5.10. So I think the fix is not suitable for 5.15 and 5.10.
What do you think? Your opinion is very important to me.
Thanks,
Cliff
linux-stable-mirror@lists.linaro.org