mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	Remove insecure broadcom-sta driver from hardware profiles
The broadcom-sta driver package is marked as insecure due to CVE-2019-9501 and CVE-2019-9502 (heap buffer overflow vulnerabilities allowing remote code execution). The driver is also unmaintained and incompatible with modern Linux kernel security mitigations. Removed broadcom_sta from extraModulePackages and the corresponding "wl" kernel module. This resolves test failures where Nixpkgs refuses to evaluate configurations containing this insecure package.
This commit is contained in:
		@@ -6,9 +6,5 @@
 | 
			
		||||
    ../../../common/cpu/intel/haswell
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # broadcom-wl
 | 
			
		||||
  hardware.enableRedistributableFirmware = lib.mkDefault true;
 | 
			
		||||
  # nixos-generate-config doesn't detect this automatically.
 | 
			
		||||
  boot.extraModulePackages = with config.boot.kernelPackages; [ broadcom_sta ];
 | 
			
		||||
  boot.kernelModules = [ "wl" ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user