This is a note to let you know that I've just added the patch titled scripts/get_abi: fix source path leak to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: scripts-get_abi-fix-source-path-leak.patch and it can be found in the queue-5.15 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 5889d6ede53bc17252f79c142387e007224aa554 Mon Sep 17 00:00:00 2001 From: Vegard Nossum <vegard.nossum@xxxxxxxxxx> Date: Mon, 1 Jan 2024 00:59:58 +0100 Subject: scripts/get_abi: fix source path leak From: Vegard Nossum <vegard.nossum@xxxxxxxxxx> commit 5889d6ede53bc17252f79c142387e007224aa554 upstream. The code currently leaks the absolute path of the ABI files into the rendered documentation. There exists code to prevent this, but it is not effective when an absolute path is passed, which it is when $srctree is used. I consider this to be a minimal, stop-gap fix; a better fix would strip off the actual prefix instead of hacking it off with a regex. Link: https://mastodon.social/@vegard/111677490643495163 Cc: Jani Nikula <jani.nikula@xxxxxxxxx> Cc: stable@xxxxxxxxxxxxxxx Signed-off-by: Vegard Nossum <vegard.nossum@xxxxxxxxxx> Signed-off-by: Jonathan Corbet <corbet@xxxxxxx> Link: https://lore.kernel.org/r/20231231235959.3342928-1-vegard.nossum@xxxxxxxxxx Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- scripts/get_abi.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/scripts/get_abi.pl +++ b/scripts/get_abi.pl @@ -75,7 +75,7 @@ sub parse_abi { $name =~ s,.*/,,; my $fn = $file; - $fn =~ s,Documentation/ABI/,,; + $fn =~ s,.*Documentation/ABI/,,; my $nametag = "File $fn"; $data{$nametag}->{what} = "File $name"; Patches currently in stable-queue which might be from vegard.nossum@xxxxxxxxxx are queue-5.15/scripts-get_abi-fix-source-path-leak.patch