All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-pm@vger.kernel.org
Subject: [Bug 218041] Buffer overrun in devfreq trans_stat_show()
Date: Tue, 24 Oct 2023 18:33:41 +0000	[thread overview]
Message-ID: <bug-218041-137361-J9i4PWH2d5@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-218041-137361@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=218041

--- Comment #5 from Christian Marangi (Ansuel) (ansuelsmth@gmail.com) ---
Thanks for the report. I checked how the equivalent function for cpufreq works
and as I tought it does fail the thing to write exceed PAGE_SIZE. I sent a
patch upstream that fix the missing check.

sysfs stuff is ABI so moving this to debugfs is a no go (due to we don't break
userspace rule) so this is the only solution currently.

If accepted, it will be queued for stable backport.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

  parent reply	other threads:[~2023-10-24 18:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-218041-137361@https.bugzilla.kernel.org/>
2023-10-24 10:56 ` [Bug 218041] Buffer overrun in devfreq trans_stat_show() bugzilla-daemon
2023-10-24 10:59 ` bugzilla-daemon
2023-10-24 11:01 ` bugzilla-daemon
2023-10-24 11:52 ` bugzilla-daemon
2023-10-24 14:09 ` bugzilla-daemon
2023-10-24 18:33 ` bugzilla-daemon [this message]
2024-02-21 16:59 ` bugzilla-daemon
2024-02-22 15:52 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-218041-137361-J9i4PWH2d5@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-pm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.