Skip to contentSkip to conversation

6.12.43-rc1 review

PATCH In review Greg Kroah-Hartman 14 participants 460 messages Aug 18, 2025 – Aug 25, 2025 Page 4 of 4

Subsystems (4)
lore
Share & tools
lore
Tested-by on the v1 series
#458 lore raw
In reply to Greg Kroah-Hartman

Hi!

Quoted 4 lines

This is the start of the stable review cycle for the 6.12.43 release. There are 444 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

CIP testing did not find any problems here:

https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/tree/linux-6.12.y

Best regards,
Pavel

Signature · 2 lines
In cooperation with DENX Software Engineering GmbH, HRB 165235 Munich,
Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Tested-by on the v1 series
#459 lore raw
In reply to Greg Kroah-Hartman
Quoted 9 lines · Greg Kroah-Hartman

This is the start of the stable review cycle for the 6.12.43 release. There are 444 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Wed, 20 Aug 2025 12:43:43 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:

Quoted 8 lines
	https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.12.43-rc1.gz

or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.12.y
and the diffstat can be found below.

thanks,

greg k-h

Built and booted successfully on RISC-V RV64 (HiFive Unmatched).

#435 lore raw

Re: [PATCH 6.12 429/444] smb: client: fix netns refcount leak after net_passive changes

In reply to Greg Kroah-Hartman
Quoted 16 lines

Timeline of patches leading to this issue:
- commit ef7134c7fc48 ("smb: client: Fix use-after-free of network namespace.") in v6.12 fixed the original netns UAF by manually managing socket refcounts
- commit e9f2517a3e18 ("smb: client: fix TCP timers deadlock after rmmod") in v6.13 attempted to use kernel sockets but introduced TCP timer issues
- commit 5c70eb5c593d ("net: better track kernel sockets lifetime") in v6.14-rc5 introduced the net_passive mechanism with sk_net_refcnt_upgrade() for proper socket conversion
- commit 95d2b9f693ff ("Revert "smb: client: fix TCP timers deadlock after rmmod"") in v6.15-rc3 reverted to manual refcount management without adapting to the new net_passive changes

Hi Greg,

This patch depends on the preceding patch 5c70eb5c593d ("net: better track kernel sockets lifetime").

I have noticed that version 6.12.y has not imported this patch, so I believe it should not be merged.

Best regards,
Wang Zhaolong

author maintainer
#436 lore raw

Re: [PATCH 6.12 429/444] smb: client: fix netns refcount leak after net_passive changes

Quoted 18 lines · Wang Zhaolong
Quoted 16 lines

Timeline of patches leading to this issue:
- commit ef7134c7fc48 ("smb: client: Fix use-after-free of network namespace.") in v6.12 fixed the original netns UAF by manually managing socket refcounts
- commit e9f2517a3e18 ("smb: client: fix TCP timers deadlock after rmmod") in v6.13 attempted to use kernel sockets but introduced TCP timer issues
- commit 5c70eb5c593d ("net: better track kernel sockets lifetime") in v6.14-rc5 introduced the net_passive mechanism with sk_net_refcnt_upgrade() for proper socket conversion
- commit 95d2b9f693ff ("Revert "smb: client: fix TCP timers deadlock after rmmod"") in v6.15-rc3 reverted to manual refcount management without adapting to the new net_passive changes

Quoted 7 lines

Hi Greg,

This patch depends on the preceding patch 5c70eb5c593d ("net: better track kernel sockets lifetime").

I have noticed that version 6.12.y has not imported this patch, so I believe it should not be merged.

This is in the 6.12-rc release as well, so all should be good.

thanks,

greg k-h

author maintainer
#226 lore raw

Re: [PATCH 6.12 222/444] ACPI: Suppress misleading SPCR console message when SPCR table is absent

In reply to Hanjun Guo
Quoted 57 lines · Hanjun Guo

Hi Greg,

Quoted 42 lines · Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Li Chen <[email protected]>

[ Upstream commit bad3fa2fb9206f4dcec6ddef094ec2fbf6e8dcb2 ]

The kernel currently alway prints:
"Use ACPI SPCR as default console: No/Yes"

even on systems that lack an SPCR table. This can mislead users into thinking the SPCR table exists on the machines without SPCR.

With this change, the "Yes" is only printed if the SPCR table is present, parsed and !param_acpi_nospcr. This avoids user confusion on SPCR-less systems.

---
  arch/arm64/kernel/acpi.c | 10 +++++++---
  1 file changed, 7 insertions(+), 3 deletions(-)
arch/arm64/kernel/acpi.c +2 -0
index e6f66491fbe9..862bb1cba4f0 100644
@@ -197,6 +197,8 @@ static int __init acpi_fadt_sanity_check(void)
   */
  void __init acpi_boot_table_init(void)
  {
+	int ret;
+
  	/*
  	 * Enable ACPI instead of device tree unless
  	 * - ACPI has been disabled explicitly (acpi=off), or

arch/arm64/kernel/acpi.c void __init acpi_boot_table_init(void) · line 257

Quoted 9 lines
arch/arm64/kernel/acpi.c +2 -3
@@ -250,10 +252,12 @@ void __init acpi_boot_table_init(void)
  		 * behaviour, use acpi=nospcr to disable console in ACPI SPCR
  		 * table as default serial console.
  		 */
-		acpi_parse_spcr(earlycon_acpi_spcr_enable,
+		ret = acpi_parse_spcr(earlycon_acpi_spcr_enable,
  			!param_acpi_nospcr);
-		pr_info("Use ACPI SPCR as default console: %s\n",
-				param_acpi_nospcr ? "No" : "Yes");
+		if (!ret || param_acpi_nospcr || !IS_ENABLED(CONFIG_ACPI_SPCR_TABLE))

We also need to backport this preparing patch:

Quoted 6 lines

b9f58d3572a8 ACPI: Return -ENODEV from acpi_parse_spcr() when SPCR support is disabled

Or it will print the wrong message.

It applies for 6.15 and 6.16 kernel as well.

Thanks, now queued up.

greg k-h

#377 lore raw

RE: [PATCH 6.12 372/444] drm/amdgpu: fix incorrect vm flags to map bo

In reply to Greg Kroah-Hartman

[Public]

Quoted 13 lines

-----Original Message-----
From: Greg Kroah-Hartman <[email protected]>
Sent: Monday, August 18, 2025 8:47 AM
To: [email protected]
Cc: Greg Kroah-Hartman <[email protected]>; [email protected]; Xiao, Jack <[email protected]>; Gao, Likun <[email protected]>; Deucher, Alexander <[email protected]>; Sasha Levin <[email protected]>
Subject: [PATCH 6.12 372/444] drm/amdgpu: fix incorrect vm flags to map bo

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

Quoted 7 lines

From: Jack Xiao <[email protected]>

[ Upstream commit 040bc6d0e0e9c814c9c663f6f1544ebaff6824a8 ]

It should use vm flags instead of pte flags to specify bo vm attributes.

Fixes 7946340fa389 ("drm/amdgpu: Move csa related code to separate file")

I accidently tagged this with the wrong fixes tag. This patch should not go to anything other than 6.17. Sorry for the confusion. Please revert for older kernels.

Thanks,

Alex

Quoted 32 lines

commit b08425fa77ad2f305fe57a33dceb456be03b653f)

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c +0 -1
index 02138aa55793..dfb6cfd83760 100644
@@ -88,8 +88,8 @@ int amdgpu_map_static_csa(struct amdgpu_device *adev,
 struct amdgpu_vm *vm,
      }
 
      r = amdgpu_vm_bo_map(adev, *bo_va, csa_addr, 0, size,
-                          AMDGPU_PTE_READABLE |

AMDGPU_PTE_WRITEABLE |

drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c +1 -1
-                          AMDGPU_PTE_EXECUTABLE);
+                          AMDGPU_VM_PAGE_READABLE |

AMDGPU_VM_PAGE_WRITEABLE |
+ AMDGPU_VM_PAGE_EXECUTABLE);

      if (r) {
              DRM_ERROR("failed to do bo_map on static CSA, err=%d\n", r);

--
2.50.1