Upstreamed Santoni kernel v3.18.92 (E.O.L)

in #utopian-io7 years ago (edited)

What is a linux kernel?

The linux kernel Organization is a California Public Benefit Corporation established in 2002 to distribute the linux kernel & other opensource software to the public without charge.



Description

Hello guys its been a while since iam not active cuz iam busy with some other stuff which will come soon ;).So,i finally managed to upstream my device kernel source to v3.18.92(E.O.L) there are more than 195+ patches to pick & some conflicts too it takes so much time to do it
Here are link to some of them:-


https://github.com/DRohan898/kernel_xiaomi_msm8937/commit/c072fc5df36bb54600cea7b95efee6d4636814ae

Description of this patch:-
It's theoretically possible that branch instructions recorded in
BHRB (Branch History Rolling Buffer) entries have already been
unmapped before they are processed by the kernel. Hence, trying to
dereference such memory location will result in a crash. eg:
Unable to handle kernel paging request for data at address 0xd000000019c41764
Faulting instruction address: 0xc000000000084a14
Fix it by deferefencing the addresses safely.


https://github.com/DRohan898/kernel_xiaomi_msm8937/commit/b7bf75d3b7d10a22c86f6c943d6678652a11bcf2

Description of this patch:-
inet->hdrincl is racy, and could lead to uninitialized stack pointer
usage, so its value should be read only once.


https://github.com/DRohan898/kernel_xiaomi_msm8937/commit/f8cf905a16e98ad526d1af17512f8c5bc1a2a166

Description of this patch:-
The time_is_before_jiffies(acct->needcheck) check
is very wrong, we need time_is_after_jiffies() to make sys_acct() work.

Ignoring the overflows, the code should "goto out" if needcheck >
jiffies, while currently it checks "needcheck < jiffies" and thus in the
likely case check_free_space() does nothing until jiffies overflow.
In particular this means that sys_acct() is simply broken, acct_on()
sets acct->needcheck = jiffies and expects that check_free_space()
should set acct->active = 1 after the free-space check, but this won't
happen if jiffies increments in between.


https://github.com/DRohan898/kernel_xiaomi_msm8937/commit/3a10a27995ce5683c43a5469c089bd574a324a84

Description of this patch:-
The caller is supposed to
only supply data covering a whole number of registers and it is verified
in ptrace_regset' and again asserted infpr_set', however structuring
code such that the presence of trailing partial FP general register data
causes `fpr_set_msa' to return with a non-zero data buffer counter makes
it appear that this trailing data will be used if there are subsequent
writes made to FP registers, which is going to be the case with the FCSR
once the missing write to that register has been fixed.


https://github.com/DRohan898/kernel_xiaomi_msm8937/commit/35a88782ad8827616169988a9202e048abd4296f

Description of this patch:-
Since commit 59b6986dbf fixed a potential NULL pointer dereference
by allocating a se_tmr_req for ISCSI_TM_FUNC_TASK_REASSIGN, the
se_tmr_req is currently leaked by iscsit_free_cmd() because no
iscsi_cmd->se_cmd.se_tfo was associated.


https://github.com/DRohan898/kernel_xiaomi_msm8937/commit/e4e07007ca49f6a9df5ba0f798456b38e2571522

Description of this patch:-
This patch fixes bug where early se_cmd exceptions that occur
before backend execution can result in use-after-free if/when
a subsequent ABORT_TASK occurs for the same tag.


Bug Fixes

  • Issues
    1-memory allocation failure in igb
    memory allocation failures and return -ENOMEM in such cases, as
    already done for other memory allocations in this function.

2-Fix sibling-node lookup in twl4030-audio
A helper purported to look up a child node based on its name was using
the wrong of-helper and ended up prematurely freeing the parent of-node
while leaking any matching node.
To make things worse, any matching node would not even necessarily be a
child node as the whole device tree was searched depth-first starting at
the parent.


3-Fix load RFLAGS w/o the fixed bit
X86 RFLAGS bit 1 is fixed set, userspace can simply clearing bit 1
of RFLAGS with KVM_SET_REGS ioctl which results in vmentry fails.
This patch fixes it by oring X86_EFLAGS_FIXED during ioctl.


4-Fix the missing ctl name suffix at parsing SU in ALSA: usb-audio
This patch addresses these issues: the suffix is added always when no
static mapping is found. Also the patch tries to put more comments
and cleans up the if/else block for better readability in order to
avoid the same pitfall again.


My proof of work - Here is a screenshot of my logged in session in Github :
Capture.PNG


My developer profiles:
XDA-https://forum.xda-developers.com/member.php?u=7668741
YuForums-http://forums.yuplaygod.com/members/rohan.97666/
My Github Profile-https://github.com/DRohan898




Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Congratulations @drohan! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Please remove the follow me banner from the post.

[Utopian Moderator]

Thank you for the contribution. It has been approved.

Please try to make your contribution's content different from each other as it can be considered as duplicate contribution if you do so again.

You can contact us on Discord.
[utopian-moderator]

sorry for that :)

Hey @drohan I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Congratulations @drohan! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.25
TRX 0.20
JST 0.037
BTC 92599.05
ETH 3362.73
USDT 1.00
SBD 3.68