LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-22-2021, 07:27 PM   #1
_hai_
LQ Newbie
 
Registered: May 2021
Posts: 2

Rep: Reputation: Disabled
Kernel - rowhammer migitation


Rohammer - Migitation
Does anybody know here, what is done in the kernel for that?
 
Old 08-22-2021, 08:10 PM   #2
GentleThotSeaMonkey
Member
 
Registered: Dec 2016
Posts: 338
Blog Entries: 4

Rep: Reputation: 128Reputation: 128
Welcome to LQ. It seems to have been addressed 6.5 years ago.

Does this help?:
https://www.google.com/search?q=Rowh...e%3Akernel.org
https://en.wikipedia.org/wiki/Row_hammer

Tell us more (about your concern, etc). (Are you a security researcher? Student?)

Also search LQ: Rowhammer site:linuxquestions.org

Last edited by GentleThotSeaMonkey; 08-22-2021 at 08:27 PM.
 
Old 08-24-2021, 06:45 AM   #3
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,833
Blog Entries: 17

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Here, from 2016.
https://lwn.net/Articles/704920/
 
Old 08-24-2021, 09:12 PM   #4
_hai_
LQ Newbie
 
Registered: May 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thx for your help.

Gentle asked:
(I hope i don't bore you, just for introducion)

I'm master of science
I started Linux in 1996 (SuSE 4.4)
I learned a lot of OS
All kind of UN!X flavour
There is no other OS than this.
OSx included. FreeBSD included, I don't forget about GNU the base for building the Linux kernel.
No Linux without GNU.
Stallman and the Linux project/Linus talked a lot about this.
They "agreed" not to mention GNU in the name. So Linux is Kernel AND Applications.
I began consulting/developing in 1992 during studying (Assembler, PowerFlex Building PCs (BNC), Modem was 2.400 (9.600?) ...)
I'm no developer any more. But i can read, analyze and optimize a lot of code. SAP-code (ABAP) is the biggest part for code. DB Oracle.
My part is the SAP Business Warehouse. Now is HANA (DB) on the air, in Ram beginning 10TB and so on.

Ok, enough, i think i make you bored.

Rowhammer 2015. I did a lot of research. Security, Hardware an OS, Network.
Rowhammer has a lot of variations, Half, Double, different kind of Spraying, Feng Shui, JS Hammer and so on.
And the different attemption to migitate this.
Til now is no chance to migitate this, cause as you mention that this a hardware bug in DDR-Ram.
This hardware problem is not solved til now. Double Refresh, TRR, ECC doesn't solve this problem.
Ok, the name today changed to RAMBLEED and is very active. All companys (Microsoft/Amazon/Google) are working very hard on this topic, cause of their server farms.

I read a lot of universities concerning this. Solution, than destroying (GoogleZero ...) this solutions (CATT(m), Anvil and so on).
This "procedure" (destroying solution) is very important to get a 100% solution for this.
One estimated solution (several times ago) was to have a marker for kernel and user pages. Destroyed. There are some of memory regions owning both.
The access to ram in the vfs was e.g. closed in Linux.


I hope i don't make you bored.


I'm interested in changing information not only technic, privat is also very important. We are people.

Til now im not used to forums/mailing lists for kernel ... Started now.
Few months ago i did the reasearch to find the atomic instruction (assembler) for locks in the kernel.
This instruction does a Test and Set in one instruction which is not interruptible. This is a basic feature.
It's "asm volatile lock cmpxchgl" e.g.

I hope i don't make you bored. (just a feedback from you i would appreciate, thx)

I collected a lot of links. Round about 100.

If you are interested in this, i will send a zip.

OK i finish now, cause of tl;dr ;-)

I would be glad to hear something from you.

People can learn a very lot from each other. They only have to try. ;-)

cu, english is a little bit rusty.

Best reguards
Harry.

PS:
One of my hobbies started several years ago is hackintosh.
OSX on Pc.
This is my productive machine.

.
 
1 members found this post helpful.
Old 08-24-2021, 11:14 PM   #5
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,833
Blog Entries: 17

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Quote:
Originally Posted by _hai_ View Post
Til now im not used to forums/mailing lists for kernel ... Started now.
Well, I can tell you, there is ALOT to research. Since 2016 there are so many new Kernel hardening functions, including dealing with memory, that it is quite hard to keep an overview of things.
You can read quite alot about it in the Kernel config, and then beyond as well.

Ofcourse hardware based problems are some of the worst to solve, but they have done quite well to mitigate those issues.

Ps. I didn't even know about this dram issue.

Last edited by zeebra; 08-24-2021 at 11:15 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: This Week in Open Source News: Corda to Contribute to Hyperledger, Rowhammer Targets Android, and More LXer Syndicated Linux News 0 10-29-2016 08:41 AM
LXer: Using Rowhammer bitflips to root Android phones is now a thing LXer Syndicated Linux News 0 10-23-2016 10:42 PM
Rowhammer vulnerability Leads to Kernel Privilege Escalation Habitual General 2 03-13-2015 01:33 AM
Rowhammer DRAM-based privilege escalation exploit metaschima Linux - Security 3 03-11-2015 05:15 PM
A new kernel is out! A new kernel is out! A new kernel is out! Aussie Linux - General 9 11-29-2002 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration