본문 바로가기
apple silicon

zeroday in KVM ( arm linux kernel ) - How to report (1)

by pwnhub 2025. 9. 5.

 

linux kernel repo를 보다가 arm linux kvm 취약점 3건을 찾았다.

이를 제보하는 방법이 특이하여 정리하고자 한다.

 

git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

 

약 5GB...

 

git add ./내가 패치한 파일!

 

git checkout -b 임시브랜치-fix

 

git commit -sm "커밋 이름 대충"

 

git commit --amend

 

리눅스 커널 커밋 제목은 subsystem: area: summary 규칙을 따른다.

내용 적고

Link: https://lore.kernel.org/r/기존 메시지 아이디, 없으면 생략>

Reviewed-by: 기존 리뷰어, 없으면 생략

Signed-off-by: 반드시 실명 <반드시 from 이메일>

 

:wq

 

 

 

git format-patch -1 HEAD ( 첫 트 )

git format-patch -v2 -1 HEAD ( 한 번 실패 후 )

 

perl scripts/get_maintainer.pl -f 파일경로

메일 보내야하는 사람들이 쭉 나옴

 

**반드시 확인**

nano ~/.gitconfig

[user]

        name = leedongha

        email = 이게 SOB랑 대응

 

[sendemail]

        smtpServer = smtp.에베베

        smtpServerPort = 587

        smtpEncryption = tls

        smtpUser = 에베벱

        smtpPass = 비밀

        from = p@sswd.pw

**이거 실수해서 블로그 적어두는 거임**

 

 

git send-email \                                                   

  --to kvmarm@lists.linux.dev \                                    

  --cc linux-arm-kernel@lists.infradead.org \               

  --cc linux-kernel@vger.kernel.org \

  --cc 위에서 나온 내용 싹다 \ 

  0001-*.patch

 

 

 

*SOB에 이름은 실명(깃허브랑 무관), 이메일은 전송한 이메일 기준보다도 commit에 박힌 이메일, gitconfig에 이메일이랑 같아야 함.

**또 사고치면 글 업뎃 할 예정

'apple silicon' 카테고리의 다른 글

hypervisor virtio  (0) 2025.09.05
what is KVM?  (0) 2025.09.05
hypervisor type 1 vs type 2  (0) 2025.09.05