mirror of
				https://github.com/privacyguides/privacyguides.org.git
				synced 2025-10-31 03:26:35 +00:00 
			
		
		
		
	operating-systems: Add mitigation flags, fix typo (#1269)
Co-authored-by: Jan Pobříslo <ccx@te2000.cz>
This commit is contained in:
		 Mikaela Suomalainen
					Mikaela Suomalainen
				
			
				
					committed by
					
						 Dawid Potocki
						Dawid Potocki
					
				
			
			
				
	
			
			
			 Dawid Potocki
						Dawid Potocki
					
				
			
						parent
						
							0519c153f0
						
					
				
				
					commit
					b9dee94d9d
				
			| @@ -53,16 +53,17 @@ gitlab="https://salsa.debian.org/qa/debsources" | ||||
|  | ||||
| <ol> | ||||
|   <li><code>sudo mkdir /etc/default/grub.d/</code> to create a directory for additional grub configuration</li> | ||||
|   <li><code>echo GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT mds=full,nosmt" | sudo tee /etc/default/grub.d/mds.conf</code> to create a new grub config file source with the echoed content</li> | ||||
|   <li><code>sudo grub-mkconfig -o /boot/grub/grub.cfg</code> to generate a new grub config file including this new kernel boot flag</li> | ||||
|   <li><code>echo GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT l1tf=full,force mds=full,nosmt mitigations=auto,nosmt nosmt=force" | sudo tee /etc/default/grub.d/mitigations.cfg</code> to create a new grub config file source with the echoed content</li> | ||||
|   <li><code>sudo grub-mkconfig -o /boot/grub/grub.cfg</code> to generate a new grub config file including these new kernel boot flags</li> | ||||
|   <li><code>sudo reboot</code> to reboot</li> | ||||
|   <li>after the reboot, check <code>tail -n +1 /sys/devices/system/cpu/vulnerabilities/*</code> again to see that MDS now says "SMT disabled."</li> | ||||
|   <li>after the reboot, check <code>tail -n +1 /sys/devices/system/cpu/vulnerabilities/*</code> again to see that everything referring to SMT now says "SMT disabled."</li> | ||||
| </ol> | ||||
|  | ||||
| <h5>Further reading</h5> | ||||
|  | ||||
| <ul> | ||||
|   <li><a href="https://cpu.fail/">CPU.fail</a></li> | ||||
|   <li><a href="https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/">Hardware vulnerabilities index on The Linux kernel user's and administrator's guide</a></li> | ||||
|   <li><a href="https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html">MDS - Microarchitectural Data Sampling on The Linux kernel user's and administrator's guide</a></li> | ||||
|   <li><a href="https://mdsattacks.com/">RIDL and Fallout: MDS attacks on mdsattacks.com</a></li> | ||||
|   <li><a href="https://en.wikipedia.org/wiki/Simultaneous_multithreading">Simultaneous multithreading on Wikipedia</a></li> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user